NdefRecord.CreateMime(String, Byte[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.