UMediaPlayer::GetPlayerName

Get the name of the current native media player.

Choose your operating system:

Windows

macOS

Linux

References

Module

MediaAssets

Header

/Engine/Source/Runtime/MediaAssets/Public/MediaPlayer.h

Include

#include "MediaPlayer.h"

Source

/Engine/Source/Runtime/MediaAssets/Private/Assets/MediaPlayer.cpp

Syntax

FName GetPlayerName() const

Remarks

Get the name of the current native media player.

Returns

Player name, or NAME_None if not available.

See Also