Beamable SDK
Public Member Functions | Public Attributes | Properties | Events | List of all members
Beamable.Api.PlatformService Class Reference
Inheritance diagram for Beamable.Api.PlatformService:
Inheritance graph
[legend]
Collaboration diagram for Beamable.Api.PlatformService:
Collaboration graph
[legend]

Public Member Functions

 PlatformService (SessionParameterProvider sessionParameterProvider=null)
 
 PlatformService (bool debugMode, bool withLocalNote=true)
 
void Dispose ()
 
Promise< UnitInitialize (string language)
 
Promise< UnitStartNewSession ()
 
Promise< ISet< UserBundle > > GetDeviceUsers ()
 
void RemoveDeviceUsers (TokenResponse token)
 
Promise< UserReloadUser ()
 
void SetUser (User user)
 
Promise< UnitSaveToken (TokenResponse rsp)
 
void ClearToken ()
 
void ClearDeviceUsers ()
 

Public Attributes

AnnouncementsService Announcements
 
AuthService Auth
 
CalendarsService Calendars
 
readonly ChatService Chat
 
CloudSavingService CloudSaving
 
CommerceService Commerce
 
EventsService Events
 
GameRelayService GameRelay
 
GroupsService Groups
 
Heartbeat Heartbeat
 
InventoryService Inventory
 
LeaderboardService Leaderboard
 
MailService Mail
 
MatchmakingService Matchmaking
 
PaymentService Payments
 
TournamentService Tournaments
 
ContentService ContentService
 
CloudDataService CloudDataService
 
IBeamablePurchaser BeamablePurchaser => ServiceManager.ResolveIfAvailable<IBeamablePurchaser>()
 
Promise< IBeamablePurchaserInitializedBeamableIAP = new Promise<IBeamablePurchaser>()
 
readonly PubnubNotificationService PubnubNotificationService
 
PushService Push
 
SessionService Session
 
StatsService Stats
 
AnalyticsTracker Analytics
 
readonly ChatProvider ChatProvider
 
PubnubSubscriptionManager PubnubSubscriptionManager
 
bool DebugMode
 
User User => _user
 
PlatformRequester Requester => _requester
 
AccessToken AccessToken => _requester.Token
 
long UserId => _user.id
 

Properties

Promise< UnitOnReady [get, set]
 
IConnectivityService ConnectivityService [get, set]
 
NotificationService Notification [get, set]
 
string platform [get, set]
 
string Cid [get, set]
 
string Pid [get, set]
 
string Shard [get, set]
 
string TimeOverride [get, set]
 
- Properties inherited from Beamable.Api.IPlatformService
User User [get]
 
Promise< UnitOnReady [get]
 
NotificationService Notification [get]
 
IConnectivityService ConnectivityService [get]
 
- Properties inherited from Beamable.Common.Api.IUserContext
long UserId [get]
 

Events

Action OnShutdown
 
Action OnReloadUser
 
Action TimeOverrideChanged
 
- Events inherited from Beamable.Api.IPlatformService
Action OnShutdown
 
Action OnReloadUser
 
Action TimeOverrideChanged
 

The documentation for this class was generated from the following file: