HardwareButtons


Purpose

Represents an object that enables the support for hardware buttons on Android devices.

The object can be accessed using the launchbox.HardwareButtons reference.

Module

This object belongs to the Back Action product module.

Methods

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 HardwareButtons object.

undefined
fireDefaultBackButtonAction

This method triggers the device's default action of the hardware "back" button, e.g. closes the application.

undefined

Related topics

Public API reference
Back Action example
Legal notice | Copyright © 2015 and Confidential to Pegasystems Inc. All rights reserved. | Feedback
Advanced...