Udostępnij za pośrednictwem


BluetoothA2dp.ActionPlayingStateChanged Field

Definition

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

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

Field Value

Implements

Attributes

Remarks

Intent used to broadcast the change in the Playing 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_PLAYING, #STATE_NOT_PLAYING,

Java documentation for android.bluetooth.BluetoothA2dp.ACTION_PLAYING_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