ids_bbprofile_delete_data_flag

The flags for deleting profile entries.

Synopsis:

 enum ids_bbprofile_delete_data_flag{
      IDS_PROFILE_DELETE_DATA_DEFAULT = 0x00000000   
      IDS_PROFILE_DELETE_DATA_CACHE_ONLY = 0x00000001   
      IDS_PROFILE_DELETE_DATA_ALL = 0x00000002   
};

Since:

BlackBerry 10.2.0

Data:

IDS_PROFILE_DELETE_DATA_DEFAULT
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.

IDS_PROFILE_DELETE_DATA_CACHE_ONLY
Remove 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.

IDS_PROFILE_DELETE_DATA_ALL
Delete all entries under 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 IDS_PROFILE_TYPE_VENDOR in ids_bbprofile_type, which does not allow this flag.

Library:

libids (For the qcc command, use the -l ids option to link against this library)

Description:

Multiple flags can be combined using bitwise 'OR' unless stated otherwise. See the flags parameter in the ids_delete_data() function for more information.