Retrieve the version of BBM that is running on the user's device.
Synopsis:
#include "bbmsp/bbmsp_userprofile.h"
PRIVATE BBMSP_API bbmsp_result_t bbmsp_profile_get_bbm_version(bbmsp_profile_t *profile, int *bbm_version)
Arguments:
- profile
-
A pointer to the user's BBM profile.
- bbm_version
-
An updated pointer to the version of BBM.
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