Displayed

class Displayed(id: String, text: String, autoHide: Boolean) : LensesComponent.Hints.View.Model

Lens hint displayed using the provided text which is translated to match the current device locale. id represents a unique string that can be used to look up custom text for a specific hint in case the provided text is not suitable. autoHide indicates that this hint should get hidden after some amount of time which is long enough for user to read the hint text. When autoHide is False, it is expected that the hint will remain displayed until Model.Hidden is received by Hints.View.

Constructors

Displayed
Link copied to clipboard
fun Displayed(text: String, autoHide: Boolean)
Displayed
Link copied to clipboard
fun Displayed(id: String, text: String, autoHide: Boolean)

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

autoHide
Link copied to clipboard
val autoHide: Boolean
id
Link copied to clipboard
val id: String
text
Link copied to clipboard
val text: String