Navigation
API > API/Runtime > API/Runtime/MediaUtils > API/Runtime/MediaUtils/FMediaPlayerFacade
Description
Get the index of the currently selected track of the given type.
| Name | GetSelectedTrack |
| Type | function |
| Header File | /Engine/Source/Runtime/MediaUtils/Public/MediaPlayerFacade.h |
| Include Path | #include "MediaPlayerFacade.h" |
| Source | /Engine/Source/Runtime/MediaUtils/Private/MediaPlayerFacade.cpp |
int32 GetSelectedTrack
(
EMediaTrackType TrackType
) const
The index of the selected track, or INDEX_NONE if no track is active.
Parameters
| Name | Remarks |
|---|---|
| TrackType | The type of track to get. |
See Also
-
SelectTrack