Android.Net.Uri.NormalizeScheme Method
Return an equivalent URI with a lowercase scheme component.

Syntax

[Android.Runtime.Register("normalizeScheme", "()Landroid/net/Uri;", "GetNormalizeSchemeHandler")]
public virtual Uri NormalizeScheme ()

Returns

Documentation for this section has not yet been entered.

Remarks

Return an equivalent URI with a lowercase scheme component. This aligns the Uri with Android best practices for intent filtering.

For example, "HTTP://www.android.com" becomes "http://www.android.com"

All URIs received from outside Android (such as user input, or external sources like Bluetooth, NFC, or the Internet) should be normalized before they are used to create an Intent.

This method does not validate bad URI's, or 'fix' poorly formatted URI's - so do not use it for input validation. A Uri will always be returned, even if the Uri is badly formatted to begin with and a scheme component cannot be found.

[Android Documentation]

Requirements

Namespace: Android.Net
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 16