AlertDialog.getButtons

string[] getButtons()

Returns the button labels for the alert.

Returns

the button labels