Share via


AssociationRequest.IsSingleDevice Property

Definition

Whether only a single device should match the provided filter.

public bool IsSingleDevice { [Android.Runtime.Register("isSingleDevice", "()Z", "", ApiSince=33)] get; }
[<get: Android.Runtime.Register("isSingleDevice", "()Z", "", ApiSince=33)>]
member this.IsSingleDevice : bool

Property Value

Attributes

Remarks

Whether only a single device should match the provided filter.

When scanning for a single device with a specific BluetoothDeviceFilter mac address, bonded devices are also searched among. This allows to obtain the necessary app privileges even if the device is already paired.

Java documentation for android.companion.AssociationRequest.isSingleDevice().

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