Model

sealed class Model

Defines possible states of lens hints view.

Types

Link copied to clipboard
class Displayed(val id: String, val text: String, val 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.

Link copied to clipboard

No lens hint should be displayed, hide any if shown already.

Inheritors

Link copied to clipboard
Link copied to clipboard