Skip to content

Commit f088dda

Browse files
committed
docs: document setArguments for suggestions
1 parent 4987b0e commit f088dda

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ui/src/main/kotlin/com/algolia/instantsearch/voice/ui/VoiceInputDialogFragment.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ class VoiceInputDialogFragment : DialogFragment() {
1919

2020
private var suggestions: Array<out String>? = null
2121

22+
/** Defines suggestions to display to the user before they speak. */
2223
fun setArguments(vararg suggestions: String) {
2324
arguments = Bundle().also {
2425
it.putStringArray(Field.Suggestions.name, suggestions)

0 commit comments

Comments
 (0)