Android.Nfc.NdefRecord.ToByteArray Method
Return this NDEF Record as a byte array.

Syntax

[Android.Runtime.Register("toByteArray", "()[B", "")]
[System.Obsolete("deprecated")]
public byte[] ToByteArray ()

Returns

Documentation for this section has not yet been entered.

Remarks

Return this NDEF Record as a byte array.

This method is deprecated, use NdefMessage.ToByteArray instead. This is because the NDEF binary format is not defined for a record outside of the context of a message: the MB and ME flags cannot be set without knowing the location inside a message.

This implementation will attempt to serialize a single record by always setting the MB and ME flags (in other words, assume this is a single-record NDEF Message).

[Android Documentation]

Requirements

Namespace: Android.Nfc
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 9