Navigation
API > API/Runtime > API/Runtime/Media > API/Runtime/Media/IMediaPlayer
Description
Gets the current metadata of the media source.
Metadata is optional and if present is typically a collection of key/value items without a well defined meaning. It may contain information on copyright, album name, artist and such, but the availability of any item is not mandatory and the representation will vary with the type of media. Interpretation therefor requires the application to be aware of the type of media being loaded and the possible metadata it may carry.
Metadata may change over time. Its presence or change is reported by a MetadataChanged event.
| Name | GetMediaMetadata |
| Type | function |
| Header File | /Engine/Source/Runtime/Media/Public/IMediaPlayer.h |
| Include Path | #include "IMediaPlayer.h" |
virtual TSharedPtr < TMap < FString , TArray < TUniquePtr < IMediaMetadataItem > > >, ESPMode::ThreadSafe > GetMediaMetadata() const