Index

HardwareButtonsBaseState

new HardwareButtonsBaseState()

The base state is the default, when no hardware buttons are pressed.

Methods

process(type)

Process the event, maybe transition the state.

Parameters:
Name Type Description
type String

Name of the event to process.

Events

wake

If the phone is sleeping, then pressing Home wakes it
(on press, not release)

wake

If the phone is sleeping, then pressing Home wakes it
(on press, not release)