Navigation
API > API/Plugins > API/Plugins/ElectraPlayerRuntime > API/Plugins/ElectraPlayerRuntime/IElectraPlayerDataCache
References
| Module | ElectraPlayerRuntime |
| Header | /Engine/Plugins/Media/ElectraPlayer/Source/ElectraPlayerRuntime/Public/IElectraPlayerDataCache.h |
| Include | #include "IElectraPlayerDataCache.h" |
void AddElementToCache
(
const FItemInfo & ItemInfoToCache,
FCacheDataPtr DataToCache
)
Remarks
Asks to add an item to the cache. Whether or not the item gets added is under the purview of the cache implementation. As such, this method has no return value to indicate success.
This method should not block to wait until the cache has been updated. It should merely schedule an asynchronous update and defer writing the data to the storage to some asynchronous task.