BluetoothHeadset.ExtraDisconnectedReason Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Used as an int extra field in android.bluetooth.BluetoothHeadset#ACTION_CONNECTION_STATE_CHANGED intents for connection
failure reasons.
[Android.Runtime.Register("EXTRA_DISCONNECTED_REASON", ApiSince=37)]
public const string ExtraDisconnectedReason;
[<Android.Runtime.Register("EXTRA_DISCONNECTED_REASON", ApiSince=37)>]
val mutable ExtraDisconnectedReason : string
Field Value
Implements
- Attributes
Remarks
Used as an int extra field in ACTION_CONNECTION_STATE_CHANGED intents for connection failure reasons.
The value is one of the following: BluetoothStatusCodes.SUCCESS; BluetoothStatusCodes.ERROR_UNKNOWN; BluetoothStatusCodes.ERROR_INSUFFICIENT_RESOURCES; BluetoothStatusCodes.ERROR_SDP_DISCOVERY_FAILED; BluetoothStatusCodes.ERROR_RFCOMM_CONNECTION_FAILED
Android reference for android.bluetooth.BluetoothHeadset.EXTRA_DISCONNECTED_REASON.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.