Lines Matching refs:choices
79 private RemoteInput(String resultKey, CharSequence label, CharSequence[] choices,
83 this.mChoices = choices;
104 * Get possible input choices. This can be {@code null} if there are no choices to present.
113 * choices in {@link #getChoices}. An {@link IllegalArgumentException} is thrown
159 * Specifies choices available to the user to satisfy this input.
160 * @param choices an array of pre-defined choices for users input.
165 public Builder setChoices(CharSequence[] choices) {
166 if (choices == null) {
169 mChoices = new CharSequence[choices.length];
170 for (int i = 0; i < choices.length; i++) {
171 mChoices[i] = Notification.safeCharSequence(choices[i]);