Retrieve the version of BBM that is running on a contact's device.
Synopsis:
#include <bbmsp/bbmsp_contactlist.h>
BBMSP_API bbmsp_result_t bbmsp_contact_get_bbm_version(const bbmsp_contact_t *contact, int *bbm_version)
Arguments:
- contact
-
A pointer to the contact whose BBM version to get.
- bbm_version
-
Updated with the BBM version of the contact.
Library:
libbbmsp (For the qcc command, use the -l bbmsp option to link against this library)
Description:
Possible BBM versions are:
- 0x0100 for BBM version 1.0 on devices running BlackBerry Device Software 5.0 or earlier
- 0x0200 for BBM version 2.0 on devices running BlackBerry Device Software 5.0 or earlier
- 0x0201 for BBM version 2.1 on devices running BlackBerry Device Software 5.0 or earlier
- 0x0202 for BBM version 2.2 on devices running BlackBerry Device Software 5.0 or earlier
- 0x0205 for BBM version 2.5 on devices running BlackBerry Device Software 5.0 or earlier
- 0x0206 for BBM version 2.6 on devices running BlackBerry Device Software 5.0 or earlier
- 0x0600 for BBM version 6.0 on devices running BlackBerry Device Software 5, BlackBerry 6, or BlackBerry 7
- 0x0601 for BBM version 6.1 on devices running BlackBerry Device Software 5, BlackBerry 6, or BlackBerry 7
- 0x0700 for BBM version 7.0 on devices running BlackBerry Device Software 5, BlackBerry 6, or BlackBerry 7
- 0x0a00 for BBM version 10.0 on devices running BlackBerry 10
- 0x00 for unknown version