bbmsp_contact_get_app_version()

Retrieve a contact's version of the app that they have installed.

Synopsis:

#include <bbmsp/bbmsp_contactlist.h>
 
BBMSP_API bbmsp_result_t bbmsp_contact_get_app_version(const bbmsp_contact_t *contact, char *app_version, size_t app_version_buffer_size)

Since:

BlackBerry 10.0.0

Arguments:

contact

A pointer to the contact whose app version to get.

app_version

A buffer that will be updated with the app version encoded as UTF-8. The resulting buffer will be null-terminated on success.

app_version_buffer_size

The size of the app_version buffer. This should be BBMSP_CONTACT_APP_VERSION_MAX.

Library:

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

Description:

Returns:

BBMSP_SUCCESS if successful, BBMSP_FAILURE otherwise.