PpsOpenMode

Since: BlackBerry 10.0.0

#include <bb/PpsOpenMode>

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

Bitfield values passed to the PpsObject::open() method.

Either Publish, Subscribe, or PublishSubscribe must always be used. Create and DeleteContents are optional.


Overview

Public Types Index

enum Type

Publish = 1, Subscribe = 2, PublishSubscribe = Publish | Subscribe, Create = 4, DeleteContents = 8

Public Types

Type

Bitfield values passed to the PpsObject::open() method.

Since:

BlackBerry 10.0.0

Publish = 1

The PPS object will open for writing only.

Subscribe = 2

The PPS object will open for reading only.

Since:

BlackBerry 10.0.0

PublishSubscribe = Publish | Subscribe

The PPS object will open for reading and writing.

Since:

BlackBerry 10.0.0

Create = 4

The PPS object does not currently exist and will be created on open.

If the PPS object does exist, open() will fail.

Since:

BlackBerry 10.0.0

DeleteContents = 8

All existing attributes of the PPS object will be deleted on open.

Since:

BlackBerry 10.0.0

Last modified: 2014-09-29



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

comments powered by Disqus