Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
4/8/2010

Properties exposed by the SystemStateobject contain information about the state of the device.

Properties

Property Description

CradlePresent

A boolean value indicating whether the device is currently cradled.

DisplayRotation

An integer indicating the rotation of the display in degrees; portrait = 0, right-handed landscape = 90, and left-handed landscape = -90 or 270.

PhoneHomeService

A boolean value indicating whether the device is presently registered on its home network.

PhoneOperatorName

A string indicating the name of the device’s mobile operator.

PhoneRoaming

A boolean value indicating whether the device is currently roaming.

PhoneSignalStrength

An integer indicating the phone signal strength, expressed as a percentage of full strength.

PowerBatteryState

A value indicating the current state of the battery, such as whether the battery level is critically low or if the battery is charging. This value should be compared against properties of the BatteryStateobject.

PowerBatteryStrength

A value indicating the current battery strength. The value is in a range from high to low. This value should be compared against properties of the BatteryLevelobject.