IMediaPlayer::GetMediaName

Get the human readable name of the currently loaded media source.

Windows
MacOS
Linux

References

Module

Media

Header

/Engine/Source/Runtime/Media/Public/IMediaPlayer.h

Include

#include "IMediaPlayer.h"

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

GetPlayerName

GetUrl

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss