Sprache

BluetoothA2dp.ExtraDisconnectedReason Field

Definition

Used as an int extra field in BluetoothA2dp#ACTION_CONNECTION_STATE_CHANGED intents for connection failure reason.

[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 BluetoothA2dp.ACTION_CONNECTION_STATE_CHANGED intents for connection failure reason. The value is one of BluetoothStatusCodes.SUCCESS,; BluetoothStatusCodes.ERROR_UNKNOWN,; BluetoothStatusCodes.ERROR_INSUFFICIENT_RESOURCES,; BluetoothStatusCodes.ERROR_SDP_DISCOVERY_FAILED,; BluetoothStatusCodes.ERROR_STREAM_CONNECTION_FAILED,; BluetoothStatusCodes.ERROR_ROLE_SWITCH_FAILED,; BluetoothStatusCodes.ERROR_AVDTP_DISCOVERY_FAILED.

Android reference for android.bluetooth.BluetoothA2dp.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.

Applies to