Språk

AbstractHttpParams.GetBooleanParameter(String, Boolean) Method

Definition

Returns the Boolean parameter value with the given name, or the default value when lookup returns null.

[Android.Runtime.Register("getBooleanParameter", "(Ljava/lang/String;Z)Z", "GetGetBooleanParameter_Ljava_lang_String_ZHandler")]
public virtual bool GetBooleanParameter(string? name, bool defaultValue);
[<Android.Runtime.Register("getBooleanParameter", "(Ljava/lang/String;Z)Z", "GetGetBooleanParameter_Ljava_lang_String_ZHandler")>]
abstract member GetBooleanParameter : string * bool -> bool
override this.GetBooleanParameter : string * bool -> bool

Parameters

name
String

parameter name.

defaultValue
Boolean

the default value.

Returns

The parameter value, or defaultValue when lookup returns null.

Implements

Attributes

Remarks

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