deviceinfo_get_details()

Retrieve the current device information.

Synopsis:

#include <bps/deviceinfo.h>
 
BPS_API int deviceinfo_get_details(deviceinfo_details_t **details)

Since:

BlackBerry 10.0.0

Arguments:

details

This will be populated with the device information. The caller must call deviceinfo_free_details() when done with this structure.

Library:

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

Description:

The deviceinfo_get_details() function gets the current device information.

Returns:

BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.