Function usage
IsReady()
int IsReady(StatusCallback callback);
Name | Type | Description |
callback | StatusCallback |
Returns:
int
. A value of
0
means the function has completed without error.
Call this function before calling other User Profile APIs.
GetUserId()
string GetUserId();
Returns:
string
.
Call this function to get the end user public ID, which is a unique ID generated by the VIVEPORT server. The public ID is in the form of ASCII characters.
GetUserName()
string GetUserName();
Returns:
string
.
Call this function to get the display name from the user profile.
GetUserAvatarUrl()
string GetUserAvatarUrl();
Returns:
string
.
Call this function to get the URL location of the end user profile image.