ids_bbprofile_get_data_flag

The flags for retrieving profile data.

Synopsis:

 enum ids_bbprofile_get_data_flag{
      IDS_PROFILE_GET_DATA_DEFAULT = 0x00000000   
      IDS_PROFILE_GET_DATA_CACHE = 0x00000001   
};

Since:

BlackBerry 10.2.0

Data:

IDS_PROFILE_GET_DATA_DEFAULT
Use the default flags for get requests.

If options are not specified, the get request will follow the default behavior where the entry is not cached. If the entry is already being cached, this flag will not disable caching.

IDS_PROFILE_GET_DATA_CACHE
Enable local caching of the entry.

Override the default behavior to enable local data caching for this entry. 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.

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_get_data() function for more information.