Beamable SDK
Public Member Functions | Properties | List of all members
Beamable.Api.Notification.PubnubSubscriptionManager Class Reference
Inheritance diagram for Beamable.Api.Notification.PubnubSubscriptionManager:
Inheritance graph
Collaboration diagram for Beamable.Api.Notification.PubnubSubscriptionManager:
Collaboration graph

Public Member Functions

delegate void OnPubNubOperationDelegate ()
void Initialize (PlatformService platform)
void Reset ()
void Update ()
void OnDisable ()
void 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)


bool PubnubIsConnected [get]
long NumActiveChannels [get]
string FilterExpression [get, set]

Detailed Description

Manage the connection and subscriptions to PubNub

Member Function Documentation

◆ LoadChannelHistory()

void Beamable.Api.Notification.PubnubSubscriptionManager.LoadChannelHistory ( string  channel,
int  msgLimit,
Action< List< object >>  onHistory,
Action< PubnubClientError onHistoryError 

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

◆ UnsubscribeAll()

void Beamable.Api.Notification.PubnubSubscriptionManager.UnsubscribeAll ( )

This method is used to unsubscribe from all channels used for notification and for chat. It is meant for use on exit

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