NdefRecord.GetId Method

Definition

Returns the variable length ID.

[Android.Runtime.Register("getId", "()[B", "")]
public byte[]? GetId ();
[<Android.Runtime.Register("getId", "()[B", "")>]
member this.GetId : unit -> byte[]

Returns

Byte[]
Attributes

Remarks

Returns the variable length ID.

Returns an empty byte array if this record does not have an id field.

Java documentation for android.nfc.NdefRecord.getId().

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