BluetoothA2dp.IsA2dpPlaying(BluetoothDevice) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
检查 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)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。