BackAction


Purpose

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

You can access the object by using the launchbox.BackAction 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 BackAction 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 © 2016 and Confidential to Pegasystems Inc. All rights reserved
PDN | Hybrid Container | Feedback
Advanced...