PdfPasswordView

Password view used when accessing password protected documents.

Constructors

Link copied to clipboard
constructor(@NonNull context: Context)
constructor(@NonNull context: Context, @Nullable attrs: AttributeSet)
constructor(@NonNull context: Context, @Nullable attrs: AttributeSet, defStyleAttr: Int)

Types

Link copied to clipboard
Listener for entered password being submitted.

Properties

Link copied to clipboard
open var color: Int
Primary color for Input field text, underline and icon tint.
Link copied to clipboard
Color used to tint text and iconResourceId on incorrect password.
Link copied to clipboard
Floating hint color.
Link copied to clipboard
Input field hint text color.
Link copied to clipboard
Image used above input field.
Link copied to clipboard
Allows to disable tinting of the provided icon drawable.

Functions

Link copied to clipboard
Called after each Editable text change.
Link copied to clipboard
Returns currently entered password.
Link copied to clipboard
Link copied to clipboard
open fun onErrorDismissed()
Called when user proceeds typing in after there was an error shown.
Link copied to clipboard
open fun onKeyPress(keyCode: Int, event: KeyEvent)
Called when there is a key press event
Link copied to clipboard
open fun onWindowFocusChanged(hasWindowFocus: Boolean)
Link copied to clipboard
Configure listener for listening for password entry.
Link copied to clipboard
open fun setVisibility(visibility: Int)
Link copied to clipboard
Shake view and tint with error code.