MetaPlatformSDK_User

Inherits: RefCounted

Represents a user.

Description

Represents a user.

Properties

String

display_name

""

int

id

0

String

image_url

""

MetaPlatformSDK_ManagedInfo

managed_info

String

oculus_id

""

String

presence

""

String

presence_deeplink_message

""

String

presence_destination_api_name

""

String

presence_lobby_session_id

""

String

presence_match_session_id

""

UserPresenceStatus

presence_status

0

String

small_image_url

""


Property Descriptions

String display_name = ""

  • String get_display_name ( )

A potentially non unique displayable name chosen by the user. Could also be the same as the oculus_id.


int id = 0

  • int get_id ( )

The ID of the user. This is a unique value for every individual user.


String image_url = ""

  • String get_image_url ( )

The url of the profile picture that is chosen by the user.


MetaPlatformSDK_ManagedInfo managed_info

Managed account info for the user which contains further metadata that is only available if the user is a Meta Managed Account(MMA). There must be user consent via dialog during installation, your app must have DUC enabled, and the app must be admin-approved. This method may return null. This indicates that the value is not present or that the curent app or user is not permitted to access it.


String oculus_id = ""

  • String get_oculus_id ( )

The oculus ID of the user. This is used across the developer dashboard and is unique to oculus.


String presence = ""

  • String get_presence ( )

Human readable string of what the user is currently doing. Not intended to be parsed as it might change at anytime or be translated.


  • String get_presence_deeplink_message ( )

Message intended to be parsed and used to deeplink to parts of the app.


String presence_destination_api_name = ""

  • String get_presence_destination_api_name ( )

If provided, the destination this user is currently at in the app.


String presence_lobby_session_id = ""

  • String get_presence_lobby_session_id ( )

If provided, the lobby session this user is currently at in the app.


String presence_match_session_id = ""

  • String get_presence_match_session_id ( )

If provided, the match session this user is currently at in the app.


UserPresenceStatus presence_status = 0

Enum value of what the user is currently doing.


String small_image_url = ""

  • String get_small_image_url ( )

The url of the smaller/secondary profile picture that is chosen by the user.