android-components / mozilla.components.concept.engine.prompt / PromptRequest / MultipleChoice

MultipleChoice

data class MultipleChoice : PromptRequest (source)

Value type that represents a request for a multiple choice prompt.

Constructors

Name Summary
<init> MultipleChoice(choices: Array<Choice>, onConfirm: (Array<Choice>) -> Unit)
Value type that represents a request for a multiple choice prompt.

Properties

Name Summary
choices val choices: Array<Choice>
All the possible options.
onConfirm val onConfirm: (Array<Choice>) -> Unit
A callback indicating witch options has been selected.