Udostępnij za pośrednictwem


Validators.Not(IValidator) Method

Definition

Creates a validator that is valid when validator is not, and vice versa.

[Android.Runtime.Register("not", "(Landroid/service/autofill/Validator;)Landroid/service/autofill/Validator;", "", ApiSince=28)]
public static Android.Service.Autofill.IValidator Not (Android.Service.Autofill.IValidator validator);
[<Android.Runtime.Register("not", "(Landroid/service/autofill/Validator;)Landroid/service/autofill/Validator;", "", ApiSince=28)>]
static member Not : Android.Service.Autofill.IValidator -> Android.Service.Autofill.IValidator

Parameters

validator
IValidator

Returns

Attributes

Remarks

Creates a validator that is valid when validator is not, and vice versa.

Used to represent a NOT boolean operation in a chain of validators.

Java documentation for android.service.autofill.Validators.not(android.service.autofill.Validator).

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