Stay organized with collections
Save and categorize content based on your preferences.
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.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{
"last_modified": "Last updated 2024-04-04 UTC.",
"state": ""
}