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

SdkAccount Class

A single user can have multiple sdk accounts associated with it. SDK accounts represent the oculus user and x-accounts that are linked to the particular user. Retrieve the SDK accounts by using, com.meta.horizon.platform.ovr.requests.Users#getSdkAccounts().

Constructors

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

Methods

getAccountType ()
The specific type of account that this sdk account represents. The type can be one of the following:
com.meta.horizon.platform.ovr.enums.SdkAccountType#Unknown
com.meta.horizon.platform.ovr.enums.SdkAccountType#Oculus
com.meta.horizon.platform.ovr.enums.SdkAccountType#FacebookGameroom
Signature
SdkAccountType com.meta.horizon.platform.ovr.models.SdkAccount.getAccountType()
Returns
SdkAccountType  SdkAccountType
getUserId ()
The ID of the user, com.meta.horizon.platform.ovr.models.User#getID(), of the sdk account. This is a unique value for every com.meta.horizon.platform.ovr.models.User.
Signature
long com.meta.horizon.platform.ovr.models.SdkAccount.getUserId()
Returns
long  long