parse
Parse and decode a mailto scheme string. This parser implements RFC 6068. The returned object can be queried for the parsed parameters.
Note: scheme name matching is case-sensitive, unlike the formal RFC. As a result, you should always ensure that you write your URI string with the scheme using lower case letters, and normalize any URIs you receive from outside of Android to ensure the scheme is lower case.
Return
MailTo object
Parameters
String containing a mailto URI
Throws
if the scheme is not a mailto URI
Parse and decode a mailto scheme Uri. This parser implements RFC 6068. The returned object can be queried for the parsed parameters.
Note: scheme name matching is case-sensitive, unlike the formal RFC. As a result, you should always ensure that you write your Uri with the scheme using lower case letters, and normalize any Uris you receive from outside of Android to ensure the scheme is lower case.
Return
MailTo object
Parameters
Uri containing a mailto URI
Throws
if the scheme is not a mailto URI