Navigation
API > API/Runtime > API/Runtime/MediaUtils > API/Runtime/MediaUtils/FMediaPlayerFacade
References
| Module | MediaUtils |
| Header | /Engine/Source/Runtime/MediaUtils/Public/MediaPlayerFacade.h |
| Include | #include "MediaPlayerFacade.h" |
| Source | /Engine/Source/Runtime/MediaUtils/Private/MediaPlayerFacade.cpp |
bool SelectTrack
&40;
EMediaTrackType TrackType,
int32 TrackIndex
&41;
Remarks
Select the active track of the given type.
The selected track will use its currently active format. Active formats will be remembered on a per track basis. The first available format is active by default. To switch the track format, use SetTrackFormat instead. true if the track was selected, false otherwise.
Parameters
| Name | Description |
|---|---|
| TrackType | The type of track to select. |
| TrackIndex | The index of the track to select, or INDEX_NONE to deselect. |