This SDK has been replaced by a new PubNub Swift SDK written purely in Swift. Check it out here.
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.|
|Add Message Actions||SDK has support to Add Message Actions|
|Get Message Actions||SDK has support to Get Message Actions|
|Remove Message Actions||SDK has support to Remove Message Actions|
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.|
NotifyAlerts from the SDK
|Request message count exceeded||When the number of messages arrived on a subscribe response are equal to or greater the number set in the init config, a new status message on the status callback, with the category PNRequestMessageCountExceededCategory, will be invoked.|
Objects APIThe PubNub Objects API enables you to create and retrieve data associated with key objects in the PubNub realtime application platform.
|Objects API Create Space||Supports the Create Space method of the Objects API|
|Objects API Create User||Supports the Create User method of the Objects API|
|Objects API Delete Space||Supports the Delete Space method of the Objects API|
|Objects API Delete User||Supports the Delete User method of the Objects API|
|Objects API Get Members||Supports the Get Members method of the Objects API|
|Objects API Get Memberships||Supports the Get Memberships method of the Objects API|
|Objects API Get Space||Supports the Get Space method of the Objects API to retrieve a specific space|
|Objects API Get Spaces||Supports the Get Spaces method of the Objects API|
|Objects API Get User||Supports the Get User method of the Objects API to retrieve a specific user|
|Objects API Get Users||Supports the Get Users method of the Objects API|
|Objects API Manage Members||Supports the Manage Members method of the Objects API|
|Objects API Manage Memberships||Supports the Manage Memberships method of the Objects API|
|Objects API Update Space||Supports the Update Space method of the Objects API|
|Objects API Update User||Supports the Update User method of the Objects API|
|Telemetry||Sends back latency info to the server.|
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.|
|Presence Delta Intervals||After a certain amount of occupants on a channel, the presence service stops sending individual join and leave events and instead starts sending interval notifications of people that join or leave. The amount at which delta kicks in is configurable on the admin panel.|
|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.
|Compress Message||Compress the message before publish.|
|Fire||Fire method used for publishing. When a message is sent using fire, it will not be replicated to other Points of Presence, it will remain at the originating Point of Presence, and is not eligible for archiving via the Storage and Playback feature.|
|Publish Asynchronously||Publish the message asynchronously.|
|Publish RAW JSON||Publish JSON as is.|
|Publish using GET||Publish using HTTP GET|
|Publish with Metadata||Publish extra meta with the request used for Message Filtering.|
|Replication Flag||Controls whether the message should be replicated across stores.|
|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.|
SignalsA lightweight alternative for small frequent indications exchanged between participants. Examples are typing indicators in chat, or geo-location information.
|Send a Signal||Has support to send a Signal|
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.|
|Count of Messages on Channels||The API is a history based API that simply does a mostly normal history operation but instead of returning the messages in a channel it returns the count of messages. Without actually calling history on those channels this API gives you the ability to say if there are messages in the chat channel you can go look at further.|
|Fetch messages from storage with message actions||This function fetches historical messages from multiple channels with message actions data|
|Fetch messages from storage with meta||This function fetches historical messages from multiple channels with metadata|
|History with meta||The SDK has support to retrieve History with metadata|
|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.|
|Message Actions events listener||Has support to listen to Action Events from Message Actions API|
|Objects API Membership events listener||Has support to listen to Membership Events from Objects API|
|Objects API Space events listener||Has support to listen to Space Events from Objects API|
|Objects API User events listener||Has support to listen to User Events from Objects API|
|Publisher UUID||Has the publisher UUID of the published message.|
|Signal Listener||Has support to listen to Signal messages|
|Subscribe Message Dedupe||Automatically dedupe duplicate messages.|
|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.|
UnsubscribeUnsubscribe from a channel/channel group
|Unsubscribe from all||Unsubscribe from all channel/channel groups|
|Unsubscribe suppress leave events||Leave request will not be sent from the SDK, if set in config.|