AlertDialog.getButtons

Returns the button labels for the alert.

class AlertDialog
string[]
getButtons
()

Return Value

Type: string[]

the button labels