Share via


BluetoothA2dp.IsA2dpPlaying(BluetoothDevice) Method

Definition

Check if A2DP profile is streaming music.

[Android.Runtime.Register("isA2dpPlaying", "(Landroid/bluetooth/BluetoothDevice;)Z", "")]
[Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")]
public bool IsA2dpPlaying (Android.Bluetooth.BluetoothDevice? device);
[<Android.Runtime.Register("isA2dpPlaying", "(Landroid/bluetooth/BluetoothDevice;)Z", "")>]
[<Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")>]
member this.IsA2dpPlaying : Android.Bluetooth.BluetoothDevice -> bool

Parameters

device
BluetoothDevice

BluetoothDevice device

Returns

Attributes

Remarks

Java documentation for android.bluetooth.BluetoothA2dp.isA2dpPlaying(android.bluetooth.BluetoothDevice).

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