Retrieve a contact's handle.
#include <bbmsp/bbmsp_contactlist.h>
BBMSP_API bbmsp_result_t bbmsp_contact_get_handle(const bbmsp_contact_t *contact, char *handle, size_t handle_buffer_size)
BlackBerry 10.0.0
A pointer to the contact whose handle to get.
A buffer that will be updated with the handle encoded as Base64. The resulting buffer will be null-terminated on success.
The size of the handle buffer. This should be BBMSP_CONTACT_HANDLE_MAX.
The handle is an identifier for a user on the BBM Social Platform whose device is running BlackBerry 7 or earlier. It is provided for backwards compatibility and should NOT be used as a persistent identifier for a user. Use the PPID instead.
A user's handle is the same for each instance of BBM (for example, on a BlackBerry smartphone and a BlackBerry tablet). Handle is encoded as a Base64 string using the ASCII character set.
BBMSP_SUCCESS if successful, BBMSP_FAILURE otherwise.