Pico Unreal Platform SDK
|
PicoUserInterface class. More...
#include <Pico_User.h>
Public Member Functions | |
bool | GetLoginUser (FGetLoginUser InGetLoginUserDelegate) |
Gets the information about the current logged-in user. More... | |
bool | GetUserInfo (const FString &UserId, FGetUserInfo InGetUserInfoDelegate) |
Gets the information by user ID. More... | |
bool | GetLoggedInUserAndRoom (FGetLoggedInUserFriendsAndRooms OnGetLoggedInuserFriendsAndRoomsCallback) |
Gets the friends of the logged-in user and the rooms the friends might be in. If a friend is not in any room, the 'room' field will be null. More... | |
bool | GetNextUserAndRoomArrayPage (UPico_UserAndRoomArray *InUserAndRoomArray, FGetNextUserAndRoomArrayPage OnGetNextUserAndRoomArrayPageCallback) |
Gets the friend list of the current user. More... | |
bool | GetUserFriends (FGetLoggedInUserFriends OnGetLoggedInUserFriendsCallback) |
Gets the friend list of the current user. Friends who don't use this app won't appear in this list. More... | |
bool | GetNextUserPage (UPico_UserArray *InUserArray, FGetNextUserPage OnGetNextUserPageCallback) |
Gets the next page of user list. More... | |
bool | GetAuthorizePermissions (FGetPermissionResult OnGetPermissionResultCallback) |
Gets the authorized permissions. More... | |
bool | RequestUserPermissions (TArray< FString > Permissions, FGetPermissionResult OnGetPermissionResultCallback) |
Requests user permissions. The user will received a pop-up notification window. More... | |
PicoUserInterface class.
bool GetAuthorizePermissions | ( | FGetPermissionResult | OnGetPermissionResultCallback | ) |
Gets the authorized permissions.
OnGetPermissionResultCallback | Will be executed when the request has been completed. Delegate will contain the requested object class. |
true
: success false
: failure
bool GetLoggedInUserAndRoom | ( | FGetLoggedInUserFriendsAndRooms | OnGetLoggedInuserFriendsAndRoomsCallback | ) |
Gets the friends of the logged-in user and the rooms the friends might be in. If a friend is not in any room, the 'room' field will be null.
OnGetLoggedInuserFriendsAndRoomsCallback | Will be executed when the request has been completed. Delegate will contain the requested object class. |
true
: success false
: failure
bool GetLoginUser | ( | FGetLoginUser | InGetLoginUserDelegate | ) |
Gets the information about the current logged-in user.
InGetLoginUserDelegate | Will be executed when the request has been completed. Delegate will contain the requested object class. |
true
: success false
: failure
bool GetNextUserAndRoomArrayPage | ( | UPico_UserAndRoomArray * | InUserAndRoomArray, |
FGetNextUserAndRoomArrayPage | OnGetNextUserAndRoomArrayPageCallback | ||
) |
Gets the friend list of the current user.
InUserAndRoomArray | The current object of user and room array. |
OnGetNextUserAndRoomArrayPageCallback | Will be executed when the request has been completed. Delegate will contain the requested object class. |
true
: success false
: failure
bool GetNextUserPage | ( | UPico_UserArray * | InUserArray, |
FGetNextUserPage | OnGetNextUserPageCallback | ||
) |
Gets the next page of user list.
InUserArray | The current object of the user array. |
OnGetNextUserPageCallback | Will be executed when the request has been completed. Delegate will contain the requested object class. |
true
: success false
: failure
bool GetUserFriends | ( | FGetLoggedInUserFriends | OnGetLoggedInUserFriendsCallback | ) |
Gets the friend list of the current user. Friends who don't use this app won't appear in this list.
OnGetLoggedInUserFriendsCallback | Will be executed when the request has been completed. Delegate will contain the requested object class. |
true
: success false
: failure
bool GetUserInfo | ( | const FString & | UserId, |
FGetUserInfo | InGetUserInfoDelegate | ||
) |
Gets the information by user ID.
UserId | The ID of the user. |
InGetUserInfoDelegate | Will be executed when the request has been completed. Delegate will contain the requested object class. |
true
: success false
: failure
bool RequestUserPermissions | ( | TArray< FString > | Permissions, |
FGetPermissionResult | OnGetPermissionResultCallback | ||
) |
Requests user permissions. The user will received a pop-up notification window.
OnGetPermissionResultCallback | Will be executed when the request has been completed. Delegate will contain the requested object class.
|
true
: success false
: failure