Share via


NdefRecord.GetPayload Method

Definition

Returns the variable length payload.

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

Returns

Byte[]
Attributes

Remarks

Returns the variable length payload.

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

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

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