API reference
API reference
Select your platform
No SDKs available
No versions available

PlatformInitialize Class

A PlatformInitialize object defines an attempt at initializing the Platform SDK. It contains the result of attempting to initialize the platform. The different types of initialization results are PlatformInitializeResult.

Constructors

PlatformInitialize ( ptr )
Signature
com.meta.horizon.platform.ovr.models.PlatformInitialize.PlatformInitialize(final long ptr)
Parameters
ptr: final long

Methods

getResult ()
The result of attempting to initialize the platform:
com.meta.horizon.platform.ovr.enums.PlatformInitializeResult#Success - Platform SDK initialization succeeded.
com.meta.horizon.platform.ovr.enums.PlatformInitializeResult#Uninitialized - Platform SDK was not initialized.
com.meta.horizon.platform.ovr.enums.PlatformInitializeResult#PreLoaded - Platform SDK failed to initialize because the pre-loaded module was on a different path than the validated library.
com.meta.horizon.platform.ovr.enums.PlatformInitializeResult#FileInvalid - Platform SDK files failed to load.
com.meta.horizon.platform.ovr.enums.PlatformInitializeResult#SignatureInvalid - Platform SDK failed to initialize due to an invalid signature in the signed certificate.
com.meta.horizon.platform.ovr.enums.PlatformInitializeResult#UnableToVerify - Platform SDK failed to verify the application's signature during initialization.
com.meta.horizon.platform.ovr.enums.PlatformInitializeResult#VersionMismatch - There was a mismatch between the version of Platform SDK used by the application and the version installed on the user's device.
com.meta.horizon.platform.ovr.enums.PlatformInitializeResult#InvalidCredentials - Platform SDK failed to initialize because the user had an invalid account access token.
com.meta.horizon.platform.ovr.enums.PlatformInitializeResult#NotEntitled - Platform SDK failed to initialize because the user does not have the application entitlement.
Signature
PlatformInitializeResult com.meta.horizon.platform.ovr.models.PlatformInitialize.getResult()
Returns
PlatformInitializeResult  PlatformInitializeResult