Represents an object that enables the support for hardware buttons on Android devices.
The object can be accessed using the launchbox.HardwareButtons
reference.
This object has been deprecated. It has been replaced by the BackAction object.
This object belongs to the Back Action product module.
Name | Description | Return type |
---|---|---|
addListener | Adds a hardware button listener to the list of listeners. |
undefined |
removeListener | Removes the listener from a list of listeners of the |
undefined |
fireDefaultBackButtonAction |
This method triggers the device's default action of the hardware "back" button, e.g. closes the application. |
undefined |