Retrieve the current device information.
#include <bps/deviceinfo.h>
BPS_API int deviceinfo_get_details(deviceinfo_details_t **details)
BlackBerry 10.0.0
This will be populated with the device information. The caller must call deviceinfo_free_details() when done with this structure.
The deviceinfo_get_details() function gets the current device information.
BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.