Share via


MailTo.Parse(String) Method

Definition

Parse and decode a mailto scheme string.

[Android.Runtime.Register("parse", "(Ljava/lang/String;)Landroid/net/MailTo;", "")]
public static Android.Net.MailTo? Parse (string? url);
[<Android.Runtime.Register("parse", "(Ljava/lang/String;)Landroid/net/MailTo;", "")>]
static member Parse : string -> Android.Net.MailTo

Parameters

url
String

String containing a mailto URL

Returns

MailTo object

Attributes

Exceptions

if the scheme is not a mailto URL

Remarks

Parse and decode a mailto scheme string. This parser implements RFC 2368. The returned object can be queried for the parsed parameters.

Java documentation for android.net.MailTo.parse(java.lang.String).

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