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 (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

readonly ChatService Chat
 
readonly PubnubNotificationService PubnubNotificationService
 
readonly ChatProvider ChatProvider
 
AnnouncementsService Announcements
 
AuthService Auth
 
CalendarsService Calendars
 
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
 
Promise< IBeamablePurchaserInitializedBeamableIAP = new Promise<IBeamablePurchaser>()
 
PushService Push
 
SessionService Session
 
SocialService Social
 
StatsService Stats
 
AnalyticsTracker Analytics
 
PubnubSubscriptionManager PubnubSubscriptionManager
 
bool DebugMode
 
IBeamablePurchaser BeamablePurchaser => ServiceManager.ResolveIfAvailable<IBeamablePurchaser>()
 
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 Cid [get, set]
 
string Pid [get, set]
 
string Shard [get, set]
 
string TimeOverride [get, set]
 
string platform [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: