Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Important
XBOX Docs are now on docs.xbox.com! This page is kept as an archive and is no longer being updated. Visit our documentation on docs.xbox.com for the latest information and updates.
Initializes PlayFabCore global state. Custom platform hooks must be configured prior to calling PFInitialize.
Syntax
HRESULT PFInitialize(
XTaskQueueHandle backgroundQueue,
JavaVM* javaVm,
jobject applicationContext
)
Parameters
backgroundQueue XTaskQueueHandle
optional
An XTaskQueue that should be used for background work. If no queue is provided then a default (threadpool) queue will be used.
javaVm JavaVM*
TBD
applicationContext jobject
TBD
Return value
Type: HRESULT
Result code for this API operation.
Remarks
This will internally call PFInitialize(nullptr) if it hasn't been called already by the title. If control of PFCore background work is needed, the title should explicitly call PFInitialize and PFUninitialize.
Requirements
Header: PFCore.h