AlertDialog.setButtons

void setButtons(string[] labels)

Sets the button labels for the alert.

Parameters

labelsthe new button labels