FMediaPlayerFacade::QueryCacheState

Query the time ranges of cached media samples for the specified caching state.

Choose your operating system:

Windows

macOS

Linux

References

Module

MediaUtils

Header

/Engine/Source/Runtime/MediaUtils/Public/MediaPlayerFacade.h

Include

#include "MediaPlayerFacade.h"

Source

/Engine/Source/Runtime/MediaUtils/Private/MediaPlayerFacade.cpp

Syntax

void QueryCacheState
(
    EMediaTrackType TrackType,
    EMediaCacheState State,
    TRangeSet< FTimespan > & OutTimeRanges
) const

Remarks

Query the time ranges of cached media samples for the specified caching state.

Parameters

Parameter

Description

State

The sample state we're interested in.

OutTimeRanges

Will contain the set of matching sample time ranges.