Beamable SDK
|
Public Member Functions | |
delegate void | OnPubNubOperationDelegate () |
void | Initialize (IPlatformService platform, IDependencyProvider provider) |
void | Reset () |
void | Update () |
void | OnDisable () |
async Promise | SubscribeToProvider () |
void | EnqueueOperation (PubNubOp operation, bool shouldRunNextOp=false) |
void | UnsubscribeAll () |
void | LoadChannelHistory (string channel, int msgLimit, Action< List< object > > onHistory, Action< PubnubClientError > onHistoryError) |
void | OnMessageReceived (object result) |
void | OnSubscribeMessage (object result) |
void | OnUnsubscribeMessage (object result) |
void | OnSubscribeError (PubnubClientError pubnubError) |
void | OnUnsubscribeError (PubnubClientError pubnubError) |
Promise | OnDispose () |
Used as a way to allow services attached to a IDependencyProvider to clean up their state when the IDependencyProviderScope.Dispose method is called More... | |
Properties | |
Subscription | Subscription [get] |
bool | PubnubIsConnected [get] |
long | NumActiveChannels [get] |
string | FilterExpression [getset] |
Manage the connection and subscriptions to PubNub
|
inline |
|
inline |
|
inline |
History request for the channel. We pay by the message and history messages count towards that total. Be judicious on the amount of history retrieved
Implements Beamable.Api.Notification.IPubnubSubscriptionManager.
|
inline |
Used as a way to allow services attached to a IDependencyProvider to clean up their state when the IDependencyProviderScope.Dispose method is called
Implements Beamable.Common.Dependencies.IBeamableDisposable.
|
inline |
|
inline |
This method is used to unsubscribe from all channels used for notification and for chat. It is meant for use on exit
Implements Beamable.Api.Notification.IPubnubSubscriptionManager.