Udostępnij za pośrednictwem


ScanFilter.Builder.SetServiceData Method

Definition

Overloads

SetServiceData(ParcelUuid, Byte[])
SetServiceData(ParcelUuid, Byte[], Byte[])

SetServiceData(ParcelUuid, Byte[])

[Android.Runtime.Register("setServiceData", "(Landroid/os/ParcelUuid;[B)Landroid/bluetooth/le/ScanFilter$Builder;", "")]
public Android.Bluetooth.LE.ScanFilter.Builder SetServiceData (Android.OS.ParcelUuid serviceDataUuid, byte[] serviceData);
[<Android.Runtime.Register("setServiceData", "(Landroid/os/ParcelUuid;[B)Landroid/bluetooth/le/ScanFilter$Builder;", "")>]
member this.SetServiceData : Android.OS.ParcelUuid * byte[] -> Android.Bluetooth.LE.ScanFilter.Builder

Parameters

serviceDataUuid
ParcelUuid
serviceData
Byte[]

Returns

Attributes

Remarks

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

SetServiceData(ParcelUuid, Byte[], Byte[])

[Android.Runtime.Register("setServiceData", "(Landroid/os/ParcelUuid;[B[B)Landroid/bluetooth/le/ScanFilter$Builder;", "")]
public Android.Bluetooth.LE.ScanFilter.Builder SetServiceData (Android.OS.ParcelUuid serviceDataUuid, byte[] serviceData, byte[] serviceDataMask);
[<Android.Runtime.Register("setServiceData", "(Landroid/os/ParcelUuid;[B[B)Landroid/bluetooth/le/ScanFilter$Builder;", "")>]
member this.SetServiceData : Android.OS.ParcelUuid * byte[] * byte[] -> Android.Bluetooth.LE.ScanFilter.Builder

Parameters

serviceDataUuid
ParcelUuid
serviceData
Byte[]
serviceDataMask
Byte[]

Returns

Attributes

Remarks

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