To link against this class, add the following line to your .pro file: LIBS += -lbbplatform
The flags for deleting profile entries.
deleteData() flags parameter
- Default = 0x00000000
Use the default flags for delete requests.
If options are not specified, the deletion will follow the default behavior where the specified remote entry is deleted as well as the cached copy if it was cached. Remove the local cached copy of the entry.
Override the default behavior to remove only the cached copy, but leave the remote copy unchanged. In cases where the application may need data stored locally for quick or repeated access, the value can be cached securely on the device and retrieved on demand, even when not connected to the remote storage copy. The cache is synchronized with the remote copy so that the cache is always up to date while the device has appropriate data coverage.
- CacheOnly = 0x00000001
Delete all entries under the profile type.
Removes all the entries for the given type. The name specified must be NULL when using this flag. To avoid accidental removal of shared entries, use type Vendor in BlackBerryProfilePropertyType, which does not allow this flag.
- DeleteAll = 0x00000002