UwbAddress.FromBytes(Byte[]) Method

Definition

Create a android.uwb.UwbAddress from a byte array.

[Android.Runtime.Register("fromBytes", "([B)Landroid/ranging/uwb/UwbAddress;", "", ApiSince=36)]
public static Android.Ranging.Uwb.UwbAddress FromBytes(byte[] address);
[<Android.Runtime.Register("fromBytes", "([B)Landroid/ranging/uwb/UwbAddress;", "", ApiSince=36)>]
static member FromBytes : byte[] -> Android.Ranging.Uwb.UwbAddress

Parameters

address
Byte[]

a byte array to convert to a android.uwb.UwbAddress

Returns

a android.uwb.UwbAddress created from the input byte array

Attributes

Remarks

Create a android.uwb.UwbAddress from a byte array.

If the provided array is #SHORT_ADDRESS_BYTE_LENGTH bytes, a short address is created. If the provided array is #EXTENDED_ADDRESS_BYTE_LENGTH bytes, then an extended address is created.

Java documentation for android.ranging.uwb.UwbAddress.fromBytes(byte[]).

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