NdefRecord.TnfUnknown Field

Definition

Indicates the payload type is unknown.

[Android.Runtime.Register("TNF_UNKNOWN")]
public const short TnfUnknown = 5;
[<Android.Runtime.Register("TNF_UNKNOWN")>]
val mutable TnfUnknown : int16

Field Value

Value = 5

Implements

Attributes

Remarks

Indicates the payload type is unknown.

NFC Forum explains this should be treated similarly to the "application/octet-stream" MIME type. The payload type is not explicitly encoded within the record.

The type field is empty in an TNF_UNKNOWN record.

Java documentation for android.nfc.NdefRecord.TNF_UNKNOWN.

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