QML DeviceInfo ElementThe DeviceInfo element allows you to access information anbout the device and receive notifications from the device. More... Signals
Methods
Detailed DescriptionThis 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. Signal DocumentationThis 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. Method DocumentationThis 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
© 2008-2010 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide. All other trademarks are property of their respective owners. Privacy Policy X
|