Compartilhar via


NdefRecord.TnfMimeMedia Field

Definition

Indicates the type field contains a media-type BNF construct, defined by RFC 2046.

[Android.Runtime.Register("TNF_MIME_MEDIA")]
public const short TnfMimeMedia = 2;
[<Android.Runtime.Register("TNF_MIME_MEDIA")>]
val mutable TnfMimeMedia : int16

Field Value

Value = 2

Implements

Attributes

Remarks

Indicates the type field contains a media-type BNF construct, defined by RFC 2046.

Use this with MIME type names such as "image/jpeg", or using the helper #createMime.

Java documentation for android.nfc.NdefRecord.TNF_MIME_MEDIA.

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

See also

  • <xref:Android.Nfc.NdefRecord.CreateMime(System.String%2c+System.Byte%5b%5d)>