PubNub 3.x for Unity will encounter End Of Life (EOL) Mar 12, 2019. All users currently on 3.x should begin migrating to 4.x. The
If you have questions about the PubNub for Unity SDK, please contact us at firstname.lastname@example.org.
Access ManagerPubNub provides builtin enterprise-grade security with fine-grained access control to all of your PubNub applications with PubNub Access Manager, Message Layer encryption with AES256, and Transport Layer Security with TLS and SSL.
|Grant||This function establishes access permissions for PubNub Access Manager (PAM) by setting the read or write attributes.|
Channel GroupsChannel Groups allows PubNub developers to bundle thousands of channels into a group that can be identified by name. These Channel Groups can then be subscribed to, receiving data from the many backend-channels the channel group contains.
|Add Channels||Add channel to a channel group.|
|List Channels In Channel Group||List all channels of a channel group.|
|Remove Channels||Remove channel from channel group.|
|Remove Channels Groups||Remove channel groups.|
Mobile PushPubNub's Mobile Push Gateway feature enables developers to bridge native PubNub publishing with 3rd-party push notification services including Google Android GCM (Google Cloud Messaging), Apple iOS APNS (Apple Push Notification Service), and Microsoft Windows Phone MPNS (Microsoft Push Notification Service).
|Add Device To Channels||Enables push notifications on provided set of channels.|
|List Channels From Device||List all channels on which push notification has been enabled.|
|Remove Device||Disable push notifications from all channels which is registered.|
|Remove Device From Channels||Disable push notifications on provided set of channels.|
PresencePubNub's Channel Presence empowers your applications to Track online and offline status of users and devices in realtime.
|Get State||Get state is used to get the key/value pairs specific to a subscriber uuid.|
|Heartbeat||Timeout events are triggered when the server does not hear a hearbeat from the client within a default timeout time of 280 seconds.|
|Here Now||Obtain information about the current state of a channel including a list of unique user-ids currently subscribed to the channel and the total occupancy count of the channel.|
|Set State||Set state is used to set key/value pairs specific to a subscriber uuid.|
|Where Now||Obtain information about the current list of a channels to which a uuid is subscribed to.|
PublishPublish a message on a channel.
|Publish Asynchronously||Publish the message asynchronously.|
|Publish using GET||Publish using HTTP GET|
|Publish with Metadata||Publish extra meta with the request used for Message Filtering.|
|Store Flag||Ability to skip message from storage.|
|TTL per published message||Offer the ability to set a per message time to live in storage.|
StoragePubNub's Storage and Playback feature enables developers to store messages as they are published, and retrieve them at a later time.
|Count||Specifies the number of historical messages to return.|
|Include Timetoken||Whether event dates time tokens should be included in response or not.|
|Reverse||Traverse the timeline in reverse starting with the oldest message first.|
|Start End||Time token delimiting the start/end of time slice (exclusive) to pull messages from.|
SubscribeThis function causes the client to create an open TCP socket to the PubNub Real-Time Network and begin listening for messages on a specified channel.
|Filter Expression||Stream Filter allows a subscriber to apply a filter to only receive messages that satisfy the conditions of the filter. The message filter is set by the subscribing client(s) but it is applied on the server side thus preventing unwanted messages (those that do not meet the conditions of the filter) from reaching the subscriber.|
|Publisher UUID||Has the publisher UUID of the published message.|
|PubSub v2 compatibility||Uses PubSub v2 to make subscribe calls.|
|Subscribe to channel groups||Ability to subscribe to channel groups.|
|Subscribe to channels||Ability to subscribe to channels.|
|Subscribe to presence channel groups||Ability to subscribe to presence channel groups.|
|Subscribe to presence channels||Ability to subscribe to presence channels.|
|Subscribe with timetoken||Subscribe with timetoken.|
|Wildcard subscribe||Wildcard subscribes allow the client to subscribe to multiple channels using wildcard. E.g., if you subscribe to a.* you will get all messages for a.b, a.c, a.x. The wildcarded * portion refers to any portion of the channel string name after the dot (.).|
TimeReturn a 17 digit precision Unix epoch from the server.
|Time||This function will return a 17 digit precision Unix epoch from the server.|