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
藍牙裝置
傳回
- 屬性
備註
檢查一下 A2DP 的設定檔是否正在串流音樂。
Java 文件 android.bluetooth.BluetoothA2dp.isA2dpPlaying(android.bluetooth.BluetoothDevice)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。