IMediaTracks::GetNumTrackFormats

Get the number of formats of the specified track.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

IMediaTracks::GetNumTrackFormats()

FMediaIOCorePlayerBase::GetNumTrackFormats()

References

Module

Media

Header

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

Include

#include "IMediaTracks.h"

Syntax

int32 GetNumTrackFormats
(
    EMediaTrackType TrackType,
    int32 TrackIndex
) const

Remarks

Get the number of formats of the specified track.

Returns

Number of formats.

Parameters

Parameter

Description

TrackType

The type of track.

TrackIndex

The index of the track (must be valid).

See Also

GetNumTracks

GetTrackFormatType

GetTrackDisplayName