TimePicker.ValidateInput Method
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.
Validates whether current input by the user is a valid time based on the locale.
[Android.Runtime.Register("validateInput", "()Z", "GetValidateInputHandler", ApiSince=26)]
public virtual bool ValidateInput ();
[<Android.Runtime.Register("validateInput", "()Z", "GetValidateInputHandler", ApiSince=26)>]
abstract member ValidateInput : unit -> bool
override this.ValidateInput : unit -> bool
Returns
true
if the input is valid, false
otherwise
- Attributes
Remarks
Validates whether current input by the user is a valid time based on the locale. TimePicker will show an error message to the user if the time is not valid.
Java documentation for android.widget.TimePicker.validateInput()
.
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.