ScanRecord.GetServiceData(ParcelUuid) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the service data byte array associated with the serviceUuid
.
[Android.Runtime.Register("getServiceData", "(Landroid/os/ParcelUuid;)[B", "")]
public byte[]? GetServiceData (Android.OS.ParcelUuid? serviceDataUuid);
[<Android.Runtime.Register("getServiceData", "(Landroid/os/ParcelUuid;)[B", "")>]
member this.GetServiceData : Android.OS.ParcelUuid -> byte[]
Parameters
- serviceDataUuid
- ParcelUuid
Returns
- Attributes
Remarks
Returns the service data byte array associated with the serviceUuid
. Returns null
if the serviceDataUuid
is not found.
Java documentation for android.bluetooth.le.ScanRecord.getServiceData(android.os.ParcelUuid)
.
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.