Info

Request hardware info, such as battery level, and access information about display and hardware capabilities.

As you develop your apps, you might need to retrieve specific information about the device. For example, you might need to know the current charging state of the device battery, determine whether an SD card is inserted into the device, or just retrieve general device information such as PIN or IMEI. You can use the classes in this category to access this information.

Libraries and permissions

To link against these classes, add the following line to your .pro file:

LIBS += -lbbdevice

You must also specify the following permissions in your bar-descriptor.xml file:

read_device_identifying_information

Additional resources

To download a code sample that demonstrates how to interact with the LED hardware, visit the Cascades Samples repository in Github.



Members