IMediaTracks::GetSelectedTrack

Get the index of the currently selected track of the given type.

Windows
MacOS
Linux

Override Hierarchy

IMediaTracks::GetSelectedTrack()

FMediaIOCorePlayerBase::GetSelectedTrack()

References

Module

Media

Header

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

Include

#include "IMediaTracks.h"

Syntax

int32 GetSelectedTrack
(
    EMediaTrackType TrackType
) const

Remarks

Get the index of the currently selected track of the given type.

Returns

The index of the selected track, or INDEX_NONE if no track is active.

Parameters

Parameter

Description

TrackType

The type of track to get.

See Also

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