Beamable SDK
|
Classes | |
class | ExperimentalApiServices |
Public Member Functions | |
void | UpdateUserData (User user) |
Given a User, update the authorized user for this player instance. This will trigger the OnUserChanged event. More... | |
Promise< ISet< UserBundle > > | GetDeviceUsers () |
Get a user of UserBundle objects that represent stored Users on the current device, but that aren't the active player. When a player manages multiple Users on one device, the IAccessTokens for the other users are stored on the device. More... | |
void | RemoveDeviceUser (TokenResponse token) |
Remove a stored UserBundle from the stored device users. When a player manages multiple Users on one device, the IAccessTokens for the other users are stored on the device. More... | |
void | ClearDeviceUsers () |
Remove all stored UserBundles from the device. More... | |
async Promise< Unit > | ApplyToken (TokenResponse response) |
Given a TokenResponse, update the authorized user for this player instance. This will trigger the logging out event, the reload user, and the logging in event. More... | |
ApiServices (BeamContext ctx) | |
Properties | |
User | User [get] |
AccessToken | Token [get] |
IExperimentalAPI | Experimental [get] |
AnnouncementsService | AnnouncementService [get] |
IAuthService | AuthService [get] |
CloudSavingService | CloudSavingService [get] |
ContentService | ContentService [get] |
InventoryService | InventoryService [get] |
LeaderboardService | LeaderboardService [get] |
IBeamableRequester | Requester [get] |
StatsService | StatsService [get] |
StatsService | Stats [get] |
SessionService | SessionService [get] |
IAnalyticsTracker | AnalyticsTracker [get] |
MailService | MailService [get] |
PushService | PushService [get] |
CommerceService | CommerceService [get] |
PaymentService | PaymentService [get] |
GroupsService | GroupsService [get] |
EventsService | EventsService [get] |
Promise< IBeamablePurchaser > | BeamableIAP [get] |
IConnectivityService | ConnectivityService [get] |
INotificationService | NotificationService [get] |
ITournamentApi | TournamentsService [get] |
ICloudDataApi | TrialDataService [get] |
ITournamentApi | Tournaments [get] |
ISdkEventService | SdkEventService [get] |
IPresenceApi | PresenceService [get] |
IPresenceApi | Presence [get] |
Properties inherited from Beamable.IBeamableAPI | |
User | User [get] |
The currently signed in User for this IBeamableAPI instance. | |
AccessToken | Token [get] |
The AccessToken for the User object's account. | |
IExperimentalAPI | Experimental [get] |
Access experimental features of Beamable. Services from this accessor may be subject to change | |
AnnouncementsService | AnnouncementService [get] |
Access the AnnouncementService for this player instance. | |
IAuthService | AuthService [get] |
Access the IAuthService for this player instance. | |
CloudSavingService | CloudSavingService [get] |
Access the CloudSavingService for this player instance. | |
ContentService | ContentService [get] |
Access the ContentService for this player instance. | |
InventoryService | InventoryService [get] |
Access the InventoryService for this player instance. | |
LeaderboardService | LeaderboardService [get] |
Access the LeaderboardService for this player instance. | |
IBeamableRequester | Requester [get] |
Access the IBeamableRequester for this player instance. | |
StatsService | StatsService [get] |
Access the StatsService for this player instance. | |
StatsService | Stats [get] |
SessionService | SessionService [get] |
Access the SessionService for this player instance. | |
IAnalyticsTracker | AnalyticsTracker [get] |
Access the IAnalyticsTracker for this player instance. | |
MailService | MailService [get] |
Access the MailService for this player instance. | |
PushService | PushService [get] |
Access the PushService for this player instance. | |
CommerceService | CommerceService [get] |
Access the CommerceService for this player instance. | |
PaymentService | PaymentService [get] |
Access the PaymentService for this player instance. | |
GroupsService | GroupsService [get] |
Access the GroupsService for this player instance. | |
EventsService | EventsService [get] |
Access the EventsService for this player instance. | |
Promise< IBeamablePurchaser > | BeamableIAP [get] |
A Promise<IBeamablePurchaser> that contains the IBeamablePurchaser. If UNITY_IAP has been enabled, this promise will complete and grant an instance of the IBeamablePurchaser to use to make purchase. | |
IConnectivityService | ConnectivityService [get] |
Access the IConnectivityService for this player instance. | |
INotificationService | NotificationService [get] |
Access the INotificationService for this player instance. | |
ITournamentApi | TournamentsService [get] |
Access the ITournamentApi for this player instance. | |
ICloudDataApi | TrialDataService [get] |
Access the ICloudDataApi for this player instance. | |
ITournamentApi | Tournaments [get] |
Obsolete, please use the TournamentsService property instead. | |
ISdkEventService | SdkEventService [get] |
Access the ISdkEventService for this player instance. | |
Events | |
Action< User > | OnUserChanged |
Action< User > | OnUserLoggingOut |
Events inherited from Beamable.IBeamableAPI | |
Action< User > | OnUserChanged |
An event that will trigger anytime the User for this IBeamableAPI instance changes. It can change due to user log out, log in, account switch, or whenever a user attaches a new credential to their account. | |
Action< User > | OnUserLoggingOut |
An event that will trigger anytime the User for this IBeamableAPI instance logs out. | |
|
inline |
Given a TokenResponse, update the authorized user for this player instance. This will trigger the logging out event, the reload user, and the logging in event.
response | A valid TokenResponse. The tokens will be the identify for the new user. |
Implements Beamable.IBeamableAPI.
|
inline |
Remove all stored UserBundles from the device.
Implements Beamable.IBeamableAPI.
|
inline |
Get a user of UserBundle objects that represent stored Users on the current device, but that aren't the active player. When a player manages multiple Users on one device, the IAccessTokens for the other users are stored on the device.
Implements Beamable.IBeamableAPI.
|
inline |
Remove a stored UserBundle from the stored device users. When a player manages multiple Users on one device, the IAccessTokens for the other users are stored on the device.
token | A valid TokenResponse for the player to remove. |
Implements Beamable.IBeamableAPI.
|
inline |
Given a User, update the authorized user for this player instance. This will trigger the OnUserChanged event.
user | A User |
Implements Beamable.IBeamableAPI.