Beamable SDK
|
This type defines the Client main entry point for the Friends feature. More...
Public Member Functions | |
SocialService (IUserContext ctx, IBeamableRequester requester) | |
Public Member Functions inherited from Beamable.Common.Api.Social.SocialApi | |
SocialApi (IUserContext ctx, IBeamableRequester requester) | |
Promise< SocialList > | Get () |
Get the current player's SocialList. If the social list has never been downloaded, this will use the RefreshSocialList method. However, once the social list has been downloaded, this method will return immediately with the cached data. More... | |
Promise< EmptyResponse > | ImportFriends (SocialThirdParty source, string token) |
Import friends from a third party provider. More... | |
Promise< FriendStatus > | BlockPlayer (long playerId) |
Block a player from the current player's social list. When a player is blocked, they'll appear in the SocialList.blocked list. Use the UnblockPlayer method to revert. More... | |
Promise< FriendStatus > | UnblockPlayer (long playerId) |
Unblock a player from the current player's SocialList.blocked list. More... | |
Promise< EmptyResponse > | CancelFriendRequest (long playerId) |
Promise< EmptyResponse > | RemoveFriend (long playerId) |
Remove a player from the current player's SocialList.friends list. More... | |
Promise< SocialList > | RefreshSocialList () |
Get the current player's SocialList More... | |
Additional Inherited Members | |
Properties inherited from Beamable.Common.Api.Social.SocialApi | |
IBeamableRequester | Requester [get] |
Properties inherited from Beamable.Common.Api.IHasBeamableRequester | |
IBeamableRequester | Requester [get] |
Access the IBeamableRequester | |
This type defines the Client main entry point for the Friends feature.