PasswordFilterGMail
open class PasswordFilterGMail : LoginFilter
This filter is compatible with GMail passwords which restricts characters to the Latin-1 (ISO8859-1) char set.
Summary
Inherited functions |
From class LoginFilter
CharSequence! |
filter(source: CharSequence!, start: Int, end: Int, dest: Spanned!, dstart: Int, dend: Int)
This method is called when the buffer is going to replace the range dstart … dend of dest with the new text from the range start … end of source . Returns the CharSequence that we want placed there instead, including an empty string if appropriate, or null to accept the original replacement. Be careful to not to reject 0-length replacements, as this is what happens when you delete text.
|
Unit |
onInvalidCharacter(c: Char)
Called whenever we encounter an invalid character.
|
Unit |
onStart()
Called when we start processing filter.
|
Unit |
onStop()
Called when we're done processing filter
|
|
Public constructors
PasswordFilterGMail
PasswordFilterGMail()
PasswordFilterGMail
PasswordFilterGMail(appendInvalid: Boolean)
Public methods
isAllowed
open fun isAllowed(c: Char): Boolean
Deprecated: Deprecated in Java.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-04-04 UTC.