|
PICO Unity Platform SDK
|
Static Public Member Functions | |
| static Task< string > | GetAccessToken () |
| Returns an access token for this user. More... | |
| static Task< User > | GetLoggedInUser () |
| Gets the information about the current logged-in user. More... | |
| static Task< User > | Get (string userId) |
| Gets the information about a specified user. More... | |
| static Task< UserList > | GetFriends () |
| Gets the friend list of the current user. More... | |
| static Task< LaunchFriendResult > | LaunchFriendRequestFlow (string userId) |
| Launches the flow to apply for friendship with someone. More... | |
| static Task< UserRoomList > | GetFriendsAndRooms () |
| Gets the friends of the logged-in user and the rooms the friends might be in. More... | |
| static Task< UserRoomList > | GetNextUserAndRoomListPage (UserRoomList list) |
| Gets the next page of user and room list. More... | |
| static Task< UserList > | GetNextUserListPage (UserList list) |
| Gets the next page of user list. More... | |
| static Task< PermissionResult > | GetAuthorizedPermissions () |
| Gets authorized permissions. More... | |
| static Task< PermissionResult > | RequestUserPermissions (string[] permissionList) |
| Requests user permissions. The user will received a pop-up notification window. More... | |
|
static |
Returns an access token for this user.
Gets the information about the current logged-in user.
Gets the information about a specified user.
| userId | The ID of the user. |
Gets the friend list of the current user.
|
static |
Launches the flow to apply for friendship with someone.
| userId | The ID of the user that the friend request is sent to. |
LaunchFriendRequest that indicates whether the request is sent successfully.
|
static |
Gets the friends of the logged-in user and the rooms the friends might be in.
UserRoomList that contains the friend and room data. If a friend is not in any room, the room field will be null.
|
static |
Gets the next page of user and room list.
| list | The user and room list from the current page. |
Gets the next page of user list.
| list | The user list from the current page. |
|
static |
Gets authorized permissions.
UserID field is empty so do NOT use it.
|
static |
Requests user permissions. The user will received a pop-up notification window.
| permissionList | The list of permissions to request, including:
|