AbstractHttpParams.GetIntParameter(String, Int32) Method

Definition

Returns the Integer parameter value with the given name, or the default value when it is not explicitly set.

[Android.Runtime.Register("getIntParameter", "(Ljava/lang/String;I)I", "GetGetIntParameter_Ljava_lang_String_IHandler")]
public virtual int GetIntParameter(string? name, int defaultValue);
[<Android.Runtime.Register("getIntParameter", "(Ljava/lang/String;I)I", "GetGetIntParameter_Ljava_lang_String_IHandler")>]
abstract member GetIntParameter : string * int -> int
override this.GetIntParameter : string * int -> int

Parameters

name
String

parameter name.

defaultValue
Int32

the default value.

Returns

The parameter value, or defaultValue when it is not explicitly set.

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