Beamable SDK
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Beamable.Api.PlatformSubscribable< ScopedRsp, Data > Class Template Referenceabstract
Inheritance diagram for Beamable.Api.PlatformSubscribable< ScopedRsp, Data >:
Inheritance graph
[legend]
Collaboration diagram for Beamable.Api.PlatformSubscribable< ScopedRsp, Data >:
Collaboration graph
[legend]

Public Member Functions

PlatformSubscription< Data > Subscribe (Action< Data > callback)
 
PlatformSubscription< Data > Subscribe (string scope, Action< Data > callback)
 
Data GetLatest ()
 
Data GetLatest (string scope)
 
Promise< Data > GetCurrent (string scope="")
 
void Notify (Data data)
 
void Notify (string scope, Data data)
 
- Public Member Functions inherited from Beamable.Common.Api.ISupportsGet< Data >
Promise< TData > GetCurrent (string scope="")
 
- Public Member Functions inherited from Beamable.Common.Api.ISupportGetLatest< Data >
TData GetLatest (string scope="")
 

Protected Member Functions

 PlatformSubscribable (IPlatformService platform, IBeamableRequester requester, string service, BeamableGetApiResource< ScopedRsp > getter=null)
 
Promise< UnitRefresh ()
 
Promise< UnitRefresh (string scope)
 
virtual Promise< ScopedRsp > ExecuteRequest (IBeamableRequester requester, string url)
 
virtual string CreateRefreshUrl (string scope)
 
abstract void OnRefresh (ScopedRsp data)
 
void ScheduleRefresh (long seconds, string scope)
 
void Unsubscribe (string scope, PlatformSubscription< Data > subscription)
 

Protected Attributes

IPlatformService platform
 
IBeamableRequester requester
 
BeamableGetApiResource< ScopedRsp > getter
 

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