setResponseLabel

open fun setResponseLabel(response: String, label: String)(source)

⚠️ Deprecated ⚠️

This is deprecated since version 1.6.

Use class@AlertDialog.

---

Sets the label of @response to @label.

Labels are displayed on the dialog buttons. An embedded underline in @label indicates a mnemonic.

Since

1.2

Parameters

response

a response ID

label

the label of @response