IMediaTracks::GetNumTracks

Get the number of media tracks of the given type.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

IMediaTracks::GetNumTracks()

FMediaIOCorePlayerBase::GetNumTracks()

References

Module

Media

Header

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

Include

#include "IMediaTracks.h"

Syntax

int32 GetNumTracks
(
    EMediaTrackType TrackType
) const

Remarks

Get the number of media tracks of the given type.

Returns

Number of tracks.

Parameters

Parameter

Description

TrackType

The type of media tracks.

See Also