Navigation
API > API/Runtime > API/Runtime/Media > API/Runtime/Media/IMediaPlayer
Description
Get the human readable name of the currently loaded media source.
Depending on the type of media source, this might be the name of a file, the display name of a capture device, or some other identifying string. If the player does not provide a specialized implementation for this method, the media name will be derived from the current media URL.
| Name | GetMediaName |
| Type | function |
| Header File | /Engine/Source/Runtime/Media/Public/IMediaPlayer.h |
| Include Path | #include "IMediaPlayer.h" |
virtual FText GetMediaName() const
Media source name, or empty text if no media is opened
See Also
-
GetPlayerName
-
GetUrl