Custom Content Validator
data class CustomContentValidator(var allowedCharacters: String = "", var callback: ContentValidationCallback? = null) : ContentValidator, Parcelable
Custom content validator.
Properties
Link copied to clipboard
OCR whitelist. Empty string means no restriction. Only characters that are present in the allowedCharacters string will be accepted. For example, if allowedCharacters is set to "ab", the result may only contain characters 'a' and 'b'.
Link copied to clipboard
Custom validation callback.