MobileForms Toolkit Documentation

Phone.DeviceState Property

Gets or sets the state of the telephony module device. Determines whether the device is installed and whether it is turned on/off. This property can be used to switch the telephony module device on/off.

public static PhoneDeviceState DeviceState {get; set;}

Exceptions

Exception Type Condition
ArgumentException Unsupported value has been set. Only PhoneDeviceState.Off and PhoneDeviceState.On values are allowed.

See Also

Phone Class | Resco.Phone Namespace | PhoneDeviceState