Uri.getScheme

string getScheme()

Gets uri's scheme. Note that this will always be all-lowercase, regardless of the string or strings that uri was created from.

Returns

uri's scheme.