PushCommand

Since: BlackBerry 10.0.0

#include <bb/network/PushCommand>

To link against this class, add the following line to your .pro file: LIBS += -lbbnetwork

Encapsulates the commands that are supported by the Push Service.


Overview

Public Types

Type

The commands that are supported by the Push Service.

Since:

BlackBerry 10.0.0

CreateSession 0

Create a session.

CreateChannel 1

Create a channel.

Since:

BlackBerry 10.0.0

DestroyChannel 2

Destroy a channel.

Since:

BlackBerry 10.0.0

RegisterToLaunch 3

Register to launch in the background when a push is received.

Since:

BlackBerry 10.0.0

UnregisterFromLaunch 4

Cancel a previous request to launch in the background.

Since:

BlackBerry 10.0.0

AcceptPush 5

Accept pushed content.

Since:

BlackBerry 10.0.0

RejectPush 6

Reject pushed content.

Since:

BlackBerry 10.0.0

Last modified: 2014-09-30



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus