getId

abstract fun getId(): Int

Obtains the Android resource id for the button being controlled.

Return

-1 if the controller is not managing an valid Android button, the resource id otherwise.