Navigation
API > API/Runtime > API/Runtime/Media > API/Runtime/Media/IMediaTracks
Description
Get the index of the currently selected track of the given type.
| Name | GetSelectedTrack |
| Type | function |
| Header File | /Engine/Source/Runtime/Media/Public/IMediaTracks.h |
| Include Path | #include "IMediaTracks.h" |
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