[android-components](../../../index.md) / [mozilla.components.concept.engine.prompt](../../index.md) / [PromptRequest](../index.md) / [SingleChoice](index.md) / [&lt;init&gt;](./-init-.md)

# &lt;init&gt;

`SingleChoice(choices: `[`Array`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html)`<`[`Choice`](../../-choice/index.md)`>, onConfirm: (`[`Choice`](../../-choice/index.md)`) -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`)`

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

