Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Struct encapsulating the storage hooks.
Syntax
typedef struct PFLocalStorageHooks {
XTaskQueueHandle queueHandle;
PFPlatformLocalStorageReadAsyncHandler* read;
PFPlatformLocalStorageWriteAsyncHandler* write;
PFPlatformLocalStorageClearAsyncHandler* clear;
void* context;
} PFLocalStorageHooks;
Members
queueHandle XTaskQueueHandle
may be nullptr
(Optional) Queue that the hooks should be invoked on. If not specified, the callbacks will be invoked on the background queue provided to PFInitialize.
read PFPlatformLocalStorageReadAsyncHandler*
Custom read hook.
write PFPlatformLocalStorageWriteAsyncHandler*
Custom write hook.
clear PFPlatformLocalStorageClearAsyncHandler*
Custom clear hook.
context void*
may be nullptr
(Optional) Client context that will be passed to storage hooks.
Remarks
All 3 handlers must be set at the same time.
Requirements
Header: PFPlatform.h