NdefRecord.ToMimeType Method

Definition

Map this record to a MIME type, or return null if it cannot be mapped.

[Android.Runtime.Register("toMimeType", "()Ljava/lang/String;", "")]
public string? ToMimeType ();
[<Android.Runtime.Register("toMimeType", "()Ljava/lang/String;", "")>]
member this.ToMimeType : unit -> string

Returns

String

MIME type as a string, or null if this is not a MIME record

Attributes

Remarks

Java documentation for android.nfc.NdefRecord.toMimeType().

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