NdefRecord.CreateMime(String, Byte[]) Method

Definition

Create a new NDEF Record containing MIME data.

[Android.Runtime.Register("createMime", "(Ljava/lang/String;[B)Landroid/nfc/NdefRecord;", "")]
public static Android.Nfc.NdefRecord? CreateMime (string? mimeType, byte[]? mimeData);
[<Android.Runtime.Register("createMime", "(Ljava/lang/String;[B)Landroid/nfc/NdefRecord;", "")>]
static member CreateMime : string * byte[] -> Android.Nfc.NdefRecord

Parameters

mimeType
String

a valid MIME type

mimeData
Byte[]

MIME data as bytes

Returns

NdefRecord

an NDEF Record containing the MIME-typed data

Attributes

Remarks

Java documentation for android.nfc.NdefRecord.createMime(java.lang.String, byte[]).

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