Udostępnij za pośrednictwem


BluetoothAdapter.MaxConnectedAudioDevices Property

Definition

Get the maximum number of connected devices per audio profile for this device.

public int MaxConnectedAudioDevices { [Android.Runtime.Register("getMaxConnectedAudioDevices", "()I", "", ApiSince=33)] [Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")] get; }
[<get: Android.Runtime.Register("getMaxConnectedAudioDevices", "()I", "", ApiSince=33)>]
[<get: Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")>]
member this.MaxConnectedAudioDevices : int

Property Value

the number of allowed simultaneous connected devices for each audio profile for this device, or -1 if the Bluetooth service can't be reached

Attributes

Remarks

Get the maximum number of connected devices per audio profile for this device.

Java documentation for android.bluetooth.BluetoothAdapter.getMaxConnectedAudioDevices().

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