Beamable SDK
Public Member Functions | Static Public Member Functions | Properties | List of all members
PubNubMessaging.Core.Pubnub Class Reference

Public Member Functions

void Subscribe< T > (string channel, Action< T > subscribeCallback, Action< T > connectCallback, Action< PubnubClientError > errorCallback)
 
void Subscribe (string channel, Action< object > subscribeCallback, Action< object > connectCallback, Action< PubnubClientError > errorCallback)
 
void Subscribe (string channel, Action< object > subscribeCallback, Action< object > connectCallback, Action< object > wildcardPresenceCallback, Action< PubnubClientError > errorCallback)
 
void Subscribe< T > (string channel, string channelGroup, Action< T > subscribeCallback, Action< T > connectCallback, Action< T > wildcardPresenceCallback, Action< PubnubClientError > errorCallback)
 
void Subscribe< T > (string channel, Action< T > subscribeCallback, Action< T > connectCallback, Action< PubnubClientError > errorCallback, string timetoken)
 
void Subscribe< T > (string channel, string channelGroup, string timetoken, Action< T > subscribeCallback, Action< T > connectCallback, Action< T > wildcardPresenceCallback, Action< PubnubClientError > errorCallback)
 
void Subscribe< T > (string channel, string channelGroup, Action< T > subscribeCallback, Action< T > connectCallback, Action< PubnubClientError > errorCallback)
 
void Subscribe (string channel, string channelGroup, Action< object > subscribeCallback, Action< object > connectCallback, Action< object > wildcardPresenceCallback, Action< PubnubClientError > errorCallback)
 
void Subscribe (string channel, string channelGroup, Action< object > subscribeCallback, Action< object > connectCallback, Action< PubnubClientError > errorCallback)
 
bool Publish (string channel, object message, Action< object > userCallback, Action< PubnubClientError > errorCallback)
 
bool Publish< T > (string channel, object message, Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
bool Publish (string channel, object message, bool storeInHistory, Action< object > userCallback, Action< PubnubClientError > errorCallback)
 
bool Publish< T > (string channel, object message, bool storeInHistory, Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
bool Publish (string channel, object message, Dictionary< string, string > metadata, Action< object > userCallback, Action< PubnubClientError > errorCallback)
 
bool Publish< T > (string channel, object message, Dictionary< string, string > metadata, Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
bool Publish (string channel, object message, bool storeInHistory, Dictionary< string, string > metadata, Action< object > userCallback, Action< PubnubClientError > errorCallback)
 
bool Publish< T > (string channel, object message, bool storeInHistory, Dictionary< string, string > metadata, Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
void Presence< T > (string channel, string channelGroup, Action< T > userCallback, Action< T > connectCallback, Action< PubnubClientError > errorCallback)
 
void Presence< T > (string channel, string channelGroup, string timetoken, Action< T > userCallback, Action< T > connectCallback, Action< PubnubClientError > errorCallback)
 
void Presence (string channel, string channelGroup, Action< object > userCallback, Action< object > connectCallback, Action< PubnubClientError > errorCallback)
 
void Presence (string channel, Action< object > userCallback, Action< object > connectCallback, Action< PubnubClientError > errorCallback)
 
void Presence< T > (string channel, Action< T > userCallback, Action< T > connectCallback, Action< PubnubClientError > errorCallback)
 
void Presence< T > (string channel, Action< T > userCallback, Action< T > connectCallback, Action< PubnubClientError > errorCallback, string timetoken)
 
bool DetailedHistory (string channel, long start, long end, int count, bool reverse, Action< object > userCallback, Action< PubnubClientError > errorCallback)
 
bool DetailedHistory< T > (string channel, long start, long end, int count, bool reverse, Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
bool DetailedHistory (string channel, long start, Action< object > userCallback, Action< PubnubClientError > errorCallback, bool reverse)
 
bool DetailedHistory< T > (string channel, long start, Action< T > userCallback, Action< PubnubClientError > errorCallback, bool reverse)
 
bool DetailedHistory (string channel, int count, Action< object > userCallback, Action< PubnubClientError > errorCallback)
 
bool DetailedHistory< T > (string channel, int count, Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
bool DetailedHistory (string channel, long start, long end, int count, bool reverse, bool includeTimetoken, Action< object > userCallback, Action< PubnubClientError > errorCallback)
 
bool DetailedHistory< T > (string channel, long start, long end, int count, bool reverse, bool includeTimetoken, Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
bool DetailedHistory (string channel, long start, bool includeTimetoken, Action< object > userCallback, Action< PubnubClientError > errorCallback, bool reverse)
 
bool DetailedHistory< T > (string channel, long start, bool includeTimetoken, Action< T > userCallback, Action< PubnubClientError > errorCallback, bool reverse)
 
bool DetailedHistory (string channel, int count, bool includeTimetoken, Action< object > userCallback, Action< PubnubClientError > errorCallback)
 
bool DetailedHistory< T > (string channel, int count, bool includeTimetoken, Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
bool HereNow (string channel, Action< object > userCallback, Action< PubnubClientError > errorCallback)
 
bool HereNow (string channel, bool showUUIDList, bool includeUserState, Action< object > userCallback, Action< PubnubClientError > errorCallback)
 
bool HereNow< T > (string channel, Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
bool HereNow< T > (string channel, bool showUUIDList, bool includeUserState, Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
bool HereNow (string channel, string channelGroup, bool showUUIDList, bool includeUserState, Action< object > userCallback, Action< PubnubClientError > errorCallback)
 
bool HereNow< T > (string channel, string channelGroup, bool showUUIDList, bool includeUserState, Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
bool GlobalHereNow (bool showUUIDList, bool includeUserState, Action< object > userCallback, Action< PubnubClientError > errorCallback)
 
bool GlobalHereNow< T > (bool showUUIDList, bool includeUserState, Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
bool GlobalHereNow (Action< object > userCallback, Action< PubnubClientError > errorCallback)
 
bool GlobalHereNow< T > (Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
void WhereNow (string uuid, Action< object > userCallback, Action< PubnubClientError > errorCallback)
 
void WhereNow< T > (string uuid, Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
void Unsubscribe< T > (string channel, string channelGroup, Action< T > userCallback, Action< T > connectCallback, Action< T > disconnectCallback, Action< T > wildcardPresenceCallback, Action< PubnubClientError > errorCallback)
 
void Unsubscribe (string channel, string channelGroup, Action< object > userCallback, Action< object > connectCallback, Action< object > disconnectCallback, Action< PubnubClientError > errorCallback)
 
void Unsubscribe (string channel, Action< object > userCallback, Action< object > connectCallback, Action< object > disconnectCallback, Action< PubnubClientError > errorCallback)
 
void Unsubscribe< T > (string channel, Action< T > userCallback, Action< T > connectCallback, Action< T > disconnectCallback, Action< PubnubClientError > errorCallback)
 
void Unsubscribe< T > (string channel, string channelGroup, Action< T > userCallback, Action< T > connectCallback, Action< T > disconnectCallback, Action< PubnubClientError > errorCallback)
 
void PresenceUnsubscribe (string channel, Action< object > userCallback, Action< object > connectCallback, Action< object > disconnectCallback, Action< PubnubClientError > errorCallback)
 
void PresenceUnsubscribe< T > (string channel, Action< T > userCallback, Action< T > connectCallback, Action< T > disconnectCallback, Action< PubnubClientError > errorCallback)
 
void PresenceUnsubscribe (string channel, string channelGroup, Action< object > userCallback, Action< object > connectCallback, Action< object > disconnectCallback, Action< PubnubClientError > errorCallback)
 
void PresenceUnsubscribe< T > (string channel, string channelGroup, Action< T > userCallback, Action< T > connectCallback, Action< T > disconnectCallback, Action< PubnubClientError > errorCallback)
 
bool Time (Action< object > userCallback, Action< PubnubClientError > errorCallback)
 
bool Time< T > (Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
void AuditAccess< T > (string channel, string authenticationKey, Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
void AuditAccess< T > (string channel, Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
void AuditAccess< T > (Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
void AuditAccess (string channel, string authenticationKey, Action< object > userCallback, Action< PubnubClientError > errorCallback)
 
void AuditAccess (string channel, Action< object > userCallback, Action< PubnubClientError > errorCallback)
 
void AuditAccess (Action< object > userCallback, Action< PubnubClientError > errorCallback)
 
void ChannelGroupAuditAccess< T > (string channelGroup, string authenticationKey, Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
void ChannelGroupAuditAccess< T > (string channelGroup, Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
void ChannelGroupAuditAccess< T > (Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
void ChannelGroupAuditPresenceAccess< T > (string channelGroup, Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
void ChannelGroupAuditPresenceAccess< T > (string channelGroup, string authenticationKey, Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
bool ChannelGroupGrantAccess< T > (string channelGroup, bool read, bool manage, int ttl, Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
bool ChannelGroupGrantAccess< T > (string channelGroup, bool read, bool manage, Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
bool ChannelGroupGrantAccess< T > (string channelGroup, string authenticationKey, bool read, bool manage, int ttl, Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
bool ChannelGroupGrantAccess< T > (string channelGroup, string authenticationKey, bool read, bool manage, Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
bool ChannelGroupGrantPresenceAccess< T > (string channelGroup, bool read, bool manage, Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
bool ChannelGroupGrantPresenceAccess< T > (string channelGroup, bool read, bool manage, int ttl, Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
bool ChannelGroupGrantPresenceAccess< T > (string channelGroup, string authenticationKey, bool read, bool manage, Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
bool ChannelGroupGrantPresenceAccess< T > (string channelGroup, string authenticationKey, bool read, bool manage, int ttl, Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
void AuditPresenceAccess (string channel, Action< object > userCallback, Action< PubnubClientError > errorCallback)
 
void AuditPresenceAccess (string channel, string authenticationKey, Action< object > userCallback, Action< PubnubClientError > errorCallback)
 
void AuditPresenceAccess< T > (string channel, Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
void AuditPresenceAccess< T > (string channel, string authenticationKey, Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
bool GrantAccess< T > (string channel, bool read, bool write, int ttl, Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
bool GrantAccess< T > (string channel, bool read, bool write, Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
bool GrantAccess< T > (string channel, string authenticationKey, bool read, bool write, int ttl, Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
bool GrantAccess< T > (string channel, string authenticationKey, bool read, bool write, Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
bool GrantAccess (string channel, bool read, bool write, int ttl, Action< object > userCallback, Action< PubnubClientError > errorCallback)
 
bool GrantAccess (string channel, bool read, bool write, Action< object > userCallback, Action< PubnubClientError > errorCallback)
 
bool GrantAccess (string channel, string authenticationKey, bool read, bool write, int ttl, Action< object > userCallback, Action< PubnubClientError > errorCallback)
 
bool GrantAccess (string channel, string authenticationKey, bool read, bool write, Action< object > userCallback, Action< PubnubClientError > errorCallback)
 
bool GrantPresenceAccess< T > (string channel, bool read, bool write, Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
bool GrantPresenceAccess< T > (string channel, bool read, bool write, int ttl, Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
bool GrantPresenceAccess< T > (string channel, string authenticationKey, bool read, bool write, Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
bool GrantPresenceAccess< T > (string channel, string authenticationKey, bool read, bool write, int ttl, Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
bool GrantPresenceAccess (string channel, bool read, bool write, Action< object > userCallback, Action< PubnubClientError > errorCallback)
 
bool GrantPresenceAccess (string channel, bool read, bool write, int ttl, Action< object > userCallback, Action< PubnubClientError > errorCallback)
 
bool GrantPresenceAccess (string channel, string authenticationKey, bool read, bool write, Action< object > userCallback, Action< PubnubClientError > errorCallback)
 
bool GrantPresenceAccess (string channel, string authenticationKey, bool read, bool write, int ttl, Action< object > userCallback, Action< PubnubClientError > errorCallback)
 
void SetUserState (string channel, string channelGroup, string uuid, string jsonUserState, Action< object > userCallback, Action< PubnubClientError > errorCallback)
 
void SetUserState< T > (string channel, string jsonUserState, Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
void SetUserState< T > (string channel, string uuid, string jsonUserState, Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
void SetUserState< T > (string channel, string channelGroup, string uuid, string jsonUserState, Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
void SetUserState (string channel, string jsonUserState, Action< object > userCallback, Action< PubnubClientError > errorCallback)
 
void SetUserState (string channel, string uuid, string jsonUserState, Action< object > userCallback, Action< PubnubClientError > errorCallback)
 
void SetUserState< T > (string channel, string uuid, System.Collections.Generic.KeyValuePair< string, object > keyValuePair, Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
void SetUserState< T > (string channel, string channelGroup, string uuid, System.Collections.Generic.KeyValuePair< string, object > keyValuePair, Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
void SetUserState< T > (string channel, System.Collections.Generic.KeyValuePair< string, object > keyValuePair, Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
void SetUserState (string channel, string uuid, System.Collections.Generic.KeyValuePair< string, object > keyValuePair, Action< object > userCallback, Action< PubnubClientError > errorCallback)
 
void SetUserState (string channel, System.Collections.Generic.KeyValuePair< string, object > keyValuePair, Action< object > userCallback, Action< PubnubClientError > errorCallback)
 
void GetUserState< T > (string channel, string uuid, Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
void GetUserState< T > (string channel, string channelGroup, string uuid, Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
void GetUserState< T > (string channel, Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
void GetUserState (string channel, string uuid, Action< object > userCallback, Action< PubnubClientError > errorCallback)
 
void GetUserState (string channel, Action< object > userCallback, Action< PubnubClientError > errorCallback)
 
void GetUserState (string channel, string channelGroup, string uuid, Action< object > userCallback, Action< PubnubClientError > errorCallback)
 
void RegisterDeviceForPush (string channel, PushTypeService pushType, string pushToken, Action< object > userCallback, Action< PubnubClientError > errorCallback)
 
void RegisterDeviceForPush< T > (string channel, PushTypeService pushType, string pushToken, Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
void UnregisterDeviceForPush (PushTypeService pushType, string pushToken, Action< object > userCallback, Action< PubnubClientError > errorCallback)
 
void UnregisterDeviceForPush< T > (PushTypeService pushType, string pushToken, Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
void RemoveChannelForDevicePush (string channel, PushTypeService pushType, string pushToken, Action< object > userCallback, Action< PubnubClientError > errorCallback)
 
void RemoveChannelForDevicePush< T > (string channel, PushTypeService pushType, string pushToken, Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
void GetChannelsForDevicePush (PushTypeService pushType, string pushToken, Action< object > userCallback, Action< PubnubClientError > errorCallback)
 
void GetChannelsForDevicePush< T > (PushTypeService pushType, string pushToken, Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
void AddChannelsToChannelGroup (string[] channels, string channelGroup, Action< object > userCallback, Action< PubnubClientError > errorCallback)
 
void AddChannelsToChannelGroup< T > (string[] channels, string channelGroup, Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
void RemoveChannelsFromChannelGroup< T > (string[] channels, string channelGroup, Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
void RemoveChannelsFromChannelGroup (string[] channels, string channelGroup, Action< object > userCallback, Action< PubnubClientError > errorCallback)
 
void RemoveChannelGroup (string channelGroup, Action< object > userCallback, Action< PubnubClientError > errorCallback)
 
void RemoveChannelGroup< T > (string channelGroup, Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
void GetChannelsForChannelGroup (string channelGroup, Action< object > userCallback, Action< PubnubClientError > errorCallback)
 
void GetChannelsForChannelGroup< T > (string channelGroup, Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
void GetAllChannelGroups (Action< object > userCallback, Action< PubnubClientError > errorCallback)
 
void GetAllChannelGroups< T > (Action< T > userCallback, Action< PubnubClientError > errorCallback)
 
void TerminateCurrentSubscriberRequest< T > ()
 
void ResetPublishMessageCounter ()
 
void EndPendingRequests< T > ()
 
void CleanUp ()
 
Guid GenerateGuid ()
 
void ChangeUUID< T > (string newUUID)
 
void TerminateCurrentSubscriberRequest ()
 
void EndPendingRequests ()
 
void ChangeUUID (string newUUID)
 
 Pubnub (IDependencyProvider provider, string publishKey, string subscribeKey, string secretKey, string cipherKey, bool sslOn, GameObject gob)
 
 Pubnub (IDependencyProvider provider, string publishKey, string subscribeKey, string secretKey, GameObject gob)
 
 Pubnub (IDependencyProvider provider, string publishKey, string subscribeKey, GameObject gob)
 
void Dispose ()
 

Static Public Member Functions

static long TranslateDateTimeToPubnubUnixNanoSeconds (DateTime dotNetUTCDateTime)
 
static DateTime TranslatePubnubUnixNanoSecondsToDateTime (long unixNanoSecondTime)
 

Properties

string FilterExpression [getset]
 
string AuthenticationKey [getset]
 
LoggingMethod.Level PubnubLogLevel [getset]
 
PubnubErrorFilter.Level PubnubErrorLevel [getset]
 
int LocalClientHeartbeatInterval [getset]
 
int NetworkCheckRetryInterval [getset]
 
int NetworkCheckMaxRetries [getset]
 
int NonSubscribeTimeout [getset]
 
int SubscribeTimeout [getset]
 
bool EnableResumeOnReconnect [getset]
 
string SessionUUID [getset]
 
string Origin [getset]
 
int PresenceHeartbeat [getset]
 
int PresenceHeartbeatInterval [getset]
 
IPubnubUnitTest PubnubUnitTest [getset]
 
bool EnableJsonEncodingForPublish [getset]
 
IJsonPluggableLibrary JsonPluggableLibrary [getset]
 
string Version [get]
 

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