OtpMaskConfig

class OtpMaskConfig(val isMasked: Boolean, val maskCharacter: Char, val maskDelay: Long)(source)

Hides entered digits behind maskCharacter after they have been visible for maskDelay milliseconds, the way password fields on phones do. Get one from OtpInputDefaults.maskConfig.

Constructors

Link copied to clipboard
constructor(isMasked: Boolean, maskCharacter: Char, maskDelay: Long)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun copy(isMasked: Boolean = this.isMasked, maskCharacter: Char = this.maskCharacter, maskDelay: Long = this.maskDelay): OtpMaskConfig
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int