Added in API level 27

Validator

public interface Validator

android.service.autofill.Validator


Class used to define whether a condition is satisfied.

Typically used to avoid displaying the save UI when the user input is invalid.