IMediaPlayer::GetMediaName

Syntax

virtual FText GetMediaName() const

Remarks

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.

Returns

Media source name, or empty text if no media is opened

See Also

References

Module

Media

Header

Runtime/Media/Public/IMediaPlayer.h