语言

BluetoothA2dp.IsA2dpPlaying(BluetoothDevice) 方法

定义

检查 A2DP 配置文件是否正在流式传输音乐。

[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

参数

device
BluetoothDevice

BluetoothDevice 设备

返回

特性

注解

检查 A2DP 配置文件是否正在流式传输音乐。

Java文档android.bluetooth.BluetoothA2dp.isA2dpPlaying(android.bluetooth.BluetoothDevice)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于