Android.Net.Uri.GetBooleanQueryParameter Method
Searches the query string for the first value with the given key and interprets it as a boolean value. "false" and "0" are interpreted as false, everything else is interpreted as true.

Syntax

[Android.Runtime.Register("getBooleanQueryParameter", "(Ljava/lang/String;Z)Z", "GetGetBooleanQueryParameter_Ljava_lang_String_ZHandler")]
public virtual bool GetBooleanQueryParameter (string key, bool defaultValue)

Parameters

key
which will be decoded
defaultValue
the default value to return if there is no query parameter for key

Returns

Documentation for this section has not yet been entered.

Remarks

Searches the query string for the first value with the given key and interprets it as a boolean value. "false" and "0" are interpreted as false, everything else is interpreted as true.

[Android Documentation]

Requirements

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