Language

BluetoothDeviceFilter.Builder.AddServiceUuid(ParcelUuid, ParcelUuid) Method

Definition

Add filtering by certain bits of BluetoothDevice.getUuids() A device with any uuid matching the given bits is considered passing

[Android.Runtime.Register("addServiceUuid", "(Landroid/os/ParcelUuid;Landroid/os/ParcelUuid;)Landroid/companion/BluetoothDeviceFilter$Builder;", "", ApiSince=26)]
public Android.Companion.BluetoothDeviceFilter.Builder AddServiceUuid(Android.OS.ParcelUuid? serviceUuid, Android.OS.ParcelUuid? serviceUuidMask);
[<Android.Runtime.Register("addServiceUuid", "(Landroid/os/ParcelUuid;Landroid/os/ParcelUuid;)Landroid/companion/BluetoothDeviceFilter$Builder;", "", ApiSince=26)>]
member this.AddServiceUuid : Android.OS.ParcelUuid * Android.OS.ParcelUuid -> Android.Companion.BluetoothDeviceFilter.Builder

Parameters

serviceUuid
ParcelUuid

the values for the bits to match. This value may be null.

serviceUuidMask
ParcelUuid

if provided, only those bits would have to match. This value may be null.

Returns

This builder, with the service UUID filter added.

Attributes

Remarks

Add filtering by certain bits of BluetoothDevice.getUuids() A device with any uuid matching the given bits is considered passing

Android reference for android.companion.BluetoothDeviceFilter.Builder.addServiceUuid.

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