org.openuat.channel.oob
Interface ButtonInputHandler

All Known Implementing Classes:
ButtonChannel, ButtonToButtonChannel, FlashDisplayToButtonChannel, LongVibrationToButtonChannel, PowerBarToButtonChannel, ProgressBarToButtonChannel, ShortVibrationToButtonChannel, TrafficLightToButtonChannel

public interface ButtonInputHandler

This interface defines methods to react to button inputs independent of the underlying implementation.
At this level of abstraction it is just one button that is needed (the Button). Which button this is (or even several buttons) depends on the given device and should be decided in the corresponding platform dependent class.

Version:
1.0
Author:
Lukas Huser

Method Summary
 void buttonPressed(long eventTime)
          Handles button press events.
 void buttonReleased(long eventTime)
          Handles button release events.
 

Method Detail

buttonPressed

void buttonPressed(long eventTime)
Handles button press events.

Parameters:
eventTime - Exact time of the event in milliseconds. Provided by the underlying platform.

buttonReleased

void buttonReleased(long eventTime)
Handles button release events.

Parameters:
eventTime - Exact time of the event in milliseconds. Provided by the underlying platform.


2005-2009, Rene Mayrhofer.