Added in API level 1
Deprecated in API level 30

UsernameFilterGeneric

open class UsernameFilterGeneric : LoginFilter
kotlin.Any
   ↳ android.text.LoginFilter
   ↳ android.text.LoginFilter.UsernameFilterGeneric

This filter rejects characters in the user name that are not compatible with Google login. It is slightly less restrictive than the above filter in that it allows [a-zA-Z0-9._-+].

Summary

Public constructors

Public methods
open Boolean

Inherited functions

Public constructors

UsernameFilterGeneric

Added in API level 1
UsernameFilterGeneric()

UsernameFilterGeneric

Added in API level 1
UsernameFilterGeneric(appendInvalid: Boolean)

Public methods

isAllowed

Added in API level 1
open fun isAllowed(c: Char): Boolean

Deprecated: Deprecated in Java.