Navigation
Unreal Engine C++ API Reference > Runtime > Media > IMediaCache
- IMediaCache::QueryCacheState()
- FMediaIOCorePlayerBase::QueryCacheState()
References
Module | Media |
Header | /Engine/Source/Runtime/Media/Public/IMediaCache.h |
Include | #include "IMediaCache.h" |
virtual bool QueryCacheState
&40;
EMediaCacheState State,
TRangeSet< FTimespan > & OutTimeRanges
&41; const
Remarks
Query the time ranges of cached media samples for the specified caching state.
This method can be used to probe a media player's decoder for which samples are scheduled for loading, being loaded, or finished loading. This is generally only supported by those players that expose some kind of internal sample caching or load/decode scheduling mechanism, and most players may simply ignore this call. true on success, false if not supported.
Parameters
Name | Description |
---|---|
State | The sample state we're interested in. |
OutTimeRanges | Will contain the set of matching sample time ranges. |