BluetoothA2dp.ActionConnectionStateChanged Field

Definition

Intent used to broadcast the change in connection state of the A2DP profile.

[Android.Runtime.Register("ACTION_CONNECTION_STATE_CHANGED")]
[Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")]
public const string ActionConnectionStateChanged;
[<Android.Runtime.Register("ACTION_CONNECTION_STATE_CHANGED")>]
[<Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")>]
val mutable ActionConnectionStateChanged : string

Field Value

Implements

Attributes

Remarks

Intent used to broadcast the change in connection state of the A2DP profile.

This intent will have 3 extras:

<ul> <li>#EXTRA_STATE - The current state of the profile. <li>#EXTRA_PREVIOUS_STATE- The previous state of the profile. <li>BluetoothDevice#EXTRA_DEVICE - The remote device. </ul>

#EXTRA_STATE or #EXTRA_PREVIOUS_STATE can be any of #STATE_DISCONNECTED, #STATE_CONNECTING, #STATE_CONNECTED, #STATE_DISCONNECTING.

Java documentation for android.bluetooth.BluetoothA2dp.ACTION_CONNECTION_STATE_CHANGED.

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