class Users
Users
()
|
Signature
constructor() Returns
Users
|
get
(
userId
)
|
Retrieve the user with the given ID. This might fail if the ID is invalid or the user is blocked. NOTE: Users will have a unique ID per application.
Signature
suspend fun get(userId: String): User Parameters
userId:
String
Returns
User
|
getAccessToken
()
|
Return an access token string for this user, suitable for making REST calls against graph.oculus.com.
Signature
suspend fun getAccessToken(): String Returns
String
|
sendAuthUrl
(
authUrl
)
|
Allows apps to initiate a login flow using the Meta Horizon App on a mobile device. The auth_url will be sent to the Horizon Mobile App and the user will be redirected to the auth_url to complete the login flow.
Signature
suspend fun sendAuthUrl(authUrl: String): Intent Parameters
authUrl:
String
Returns
Intent
|