+

Search Tips | Advanced Search

Skip navigation links

Index Overview

FRAMES (opens in new window)



Class MFPPush

MFPPush



Method Summary
Method Attributes Method Name and Description
 

backgroundJobDone(id, result)

Completes the background job after receving the silent notification.

 

getSubscriptions(success, failure)

Retrieves all the subscriptions of the device

 

getTags(success, failure)

Retrieves all the available tags of the application

 

initialize(success, failure, timeout)

Initializes MFPPush instance.

 

isPushSupported(success, failure)

Checks whether Push Notification is supported on the device

 

registerDevice(options, success, failure)

Registers the device with the push service

 

registerNotificationsCallback(callback)

Registers the callback method used for receiving the notifications

 

subscribe(tags, success, failure)

Subscribes the device to the given tags

 

unregisterDevice(success, failure)

Unregisters the device from the push service

 

unsubscribe(tags, success, failure)

Unsubscribes the device from the given tags

Method Detail

backgroundJobDone

backgroundJobDone(id, result)

Completes the background job after receving the silent notification. This API is applicable for iOS environment. When the silent notification arrives and the background job is completed, need to call this method to notify that the background job is completed.


getSubscriptions

getSubscriptions(success, failure)

Retrieves all the subscriptions of the device


getTags

getTags(success, failure)

Retrieves all the available tags of the application


initialize

initialize(success, failure, timeout)

Initializes MFPPush instance. This is required for the client application to connect to MFPPush service with the right application context. This API should be called first before using other MFPPush APIs.


isPushSupported

isPushSupported(success, failure)

Checks whether Push Notification is supported on the device


registerDevice

registerDevice(options, success, failure)

Registers the device with the push service


registerNotificationsCallback

registerNotificationsCallback(callback)

Registers the callback method used for receiving the notifications


subscribe

subscribe(tags, success, failure)

Subscribes the device to the given tags


unregisterDevice

unregisterDevice(success, failure)

Unregisters the device from the push service


unsubscribe

unsubscribe(tags, success, failure)

Unsubscribes the device from the given tags


© Copyright IBM Corp. 2011, 2016.