DigitsKeyListener Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
DigitsKeyListener() |
Allocates a DigitsKeyListener that accepts the ASCII digits 0 through 9. |
DigitsKeyListener(Locale) |
Allocates a DigitsKeyListener that accepts the ASCII digits 0 through 9. |
DigitsKeyListener(Boolean, Boolean) |
Allocates a DigitsKeyListener that accepts the ASCII digits 0 through 9, plus the ASCII plus or minus sign (only at the beginning) and/or the ASCII period ('. |
DigitsKeyListener(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
DigitsKeyListener(Locale, Boolean, Boolean) |
Allocates a DigitsKeyListener that accepts the ASCII digits 0 through 9. |
DigitsKeyListener()
Allocates a DigitsKeyListener that accepts the ASCII digits 0 through 9.
[Android.Runtime.Register(".ctor", "()V", "")]
public DigitsKeyListener ();
- Attributes
Remarks
Allocates a DigitsKeyListener that accepts the ASCII digits 0 through 9.
This member is deprecated. Use #DigitsKeyListener(Locale)
instead.
Java documentation for android.text.method.DigitsKeyListener.DigitsKeyListener()
.
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)
Allocates a DigitsKeyListener that accepts the ASCII digits 0 through 9.
[Android.Runtime.Register(".ctor", "(Ljava/util/Locale;)V", "", ApiSince=26)]
public DigitsKeyListener (Java.Util.Locale? locale);
[<Android.Runtime.Register(".ctor", "(Ljava/util/Locale;)V", "", ApiSince=26)>]
new Android.Text.Method.DigitsKeyListener : Java.Util.Locale -> Android.Text.Method.DigitsKeyListener
Parameters
- locale
- Locale
- Attributes
Remarks
Java documentation for android.text.method.DigitsKeyListener.DigitsKeyListener()
.
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)
Allocates a DigitsKeyListener that accepts the ASCII digits 0 through 9, plus the ASCII plus or minus sign (only at the beginning) and/or the ASCII period ('.
[Android.Runtime.Register(".ctor", "(ZZ)V", "")]
public DigitsKeyListener (bool sign, bool decimal);
[<Android.Runtime.Register(".ctor", "(ZZ)V", "")>]
new Android.Text.Method.DigitsKeyListener : bool * bool -> Android.Text.Method.DigitsKeyListener
Parameters
- sign
- Boolean
- decimal
- Boolean
- Attributes
Remarks
Allocates a DigitsKeyListener that accepts the ASCII digits 0 through 9, plus the ASCII plus or minus sign (only at the beginning) and/or the ASCII period ('.') as the decimal point (only one per field) if specified.
This member is deprecated. Use #DigitsKeyListener(Locale, boolean, boolean)
instead.
Java documentation for android.text.method.DigitsKeyListener.DigitsKeyListener(boolean, boolean)
.
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
- 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)
Allocates a DigitsKeyListener that accepts the ASCII digits 0 through 9.
[Android.Runtime.Register(".ctor", "(Ljava/util/Locale;ZZ)V", "", ApiSince=26)]
public DigitsKeyListener (Java.Util.Locale? locale, bool sign, bool decimal);
[<Android.Runtime.Register(".ctor", "(Ljava/util/Locale;ZZ)V", "", ApiSince=26)>]
new Android.Text.Method.DigitsKeyListener : Java.Util.Locale * bool * bool -> Android.Text.Method.DigitsKeyListener
Parameters
- locale
- Locale
- sign
- Boolean
- decimal
- Boolean
- Attributes
Remarks
Java documentation for android.text.method.DigitsKeyListener.DigitsKeyListener()
.
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.