MobileForms Toolkit Documentation

Bluetooth.DeviceState Property

Gets or sets the state of the Bluetooth device. Determines whether the device is turned on/off. This property can be used to switch the Bluetooth device on/off.

public static BluetoothState DeviceState {get; set;}

Exceptions

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

See Also

Bluetooth Class | Resco.Phone Namespace | BluetoothState