DigitsKeyListener Constructors

Definition

Overloads

DigitsKeyListener()
Obsolete.

Allocates a DigitsKeyListener that accepts the digits 0 through 9.

DigitsKeyListener(Locale)
DigitsKeyListener(Boolean, Boolean)
Obsolete.

Allocates a DigitsKeyListener that accepts the digits 0 through 9, plus the minus sign (only at the beginning) and/or decimal point (only one per field) if specified.

DigitsKeyListener(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

DigitsKeyListener(Locale, Boolean, Boolean)

DigitsKeyListener()

Caution

deprecated

Allocates a DigitsKeyListener that accepts the digits 0 through 9.

[Android.Runtime.Register(".ctor", "()V", "")]
[System.Obsolete("deprecated")]
public DigitsKeyListener ();
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

DigitsKeyListener(Locale)

[Android.Runtime.Register(".ctor", "(Ljava/util/Locale;)V", "", ApiSince=26)]
public DigitsKeyListener (Java.Util.Locale locale);
new Android.Text.Method.DigitsKeyListener : Java.Util.Locale -> Android.Text.Method.DigitsKeyListener

Parameters

locale
Locale
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

DigitsKeyListener(Boolean, Boolean)

Caution

deprecated

Allocates a DigitsKeyListener that accepts the digits 0 through 9, plus the minus sign (only at the beginning) and/or decimal point (only one per field) if specified.

[Android.Runtime.Register(".ctor", "(ZZ)V", "")]
[System.Obsolete("deprecated")]
public DigitsKeyListener (bool sign, bool decimal);
new Android.Text.Method.DigitsKeyListener : bool * bool -> Android.Text.Method.DigitsKeyListener

Parameters

sign
Boolean
decimal
Boolean
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

DigitsKeyListener(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected DigitsKeyListener (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Text.Method.DigitsKeyListener : nativeint * Android.Runtime.JniHandleOwnership -> Android.Text.Method.DigitsKeyListener

Parameters

javaReference
IntPtr

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

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

DigitsKeyListener(Locale, Boolean, Boolean)

[Android.Runtime.Register(".ctor", "(Ljava/util/Locale;ZZ)V", "", ApiSince=26)]
public DigitsKeyListener (Java.Util.Locale locale, bool sign, bool decimal);
new Android.Text.Method.DigitsKeyListener : Java.Util.Locale * bool * bool -> Android.Text.Method.DigitsKeyListener

Parameters

locale
Locale
sign
Boolean
decimal
Boolean
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