Retrieve the current device information.
#include <bps/deviceinfo.h>
BPS_API int deviceinfo_get_data(deviceinfo_data_t *data) BPS_DEPRECATED
BlackBerry 10.0.0
This will be populated with the device information. The caller must call the deviceinfo_free_data() function when done with this structure.
Deprecated:
Use deviceinfo_get_details() instead.
The deviceinfo_get_data() function gets the current device information.
BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.