PpsOpenMode
#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.
BlackBerry 10.0.0
Public Types Index
enum TypePublish = 1, Subscribe = 2, PublishSubscribe = Publish | Subscribe, Create = 4, DeleteContents = 8 |
Public Types
Bitfield values passed to the PpsObject::open() method.
BlackBerry 10.0.0
- Publish = 1
The PPS object will open for writing only.
Since:BlackBerry 10.0.0
- 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