The DeviceInfo element allows you to access information anbout the device and receive notifications from the device. More...
This element is part of the QtMobility.systeminfo 1.1 module. It is a convience class to make QML usage easier.
Note: To use notification signals, you need to use the start* slots.
Component.onCompleted: { deviceinfo.startPowerStateChanged(); deviceinfo.startBatteryLevelChanged(); }
See also QSystemDeviceInfo.
This handler is called when battery level has changed. Note: To receive this notification, you must first call startBatteryLevelChanged.
This handler is called when battery status has changed. Note: To receive this notification, you must first call startBatteryStatusChanged.
This handler is called when bluetooth power states has changed. Note: To receive this notification, you must first call startBluetoothStateChanged.
This handler is called when current device profile has changed. Note: To receive this notification, you must first call startCurrentProfileChanged.
This handler is called when the power state has changed. Note: To receive this notification, you must first call startPowerStateChanged.
This function is needed to start batteryLevelChanged notification
This function is needed to start batteryStatusChanged notification
This function is needed to start bluetoothStateChanged notification
This function is needed to start currentProfileChanged notification
This function is needed to start powerStateChanged notification