|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AccelerationListener
This interface has to be implemented if the application should react to pure acceleration data. This could be useful if you want to e.g. graphically display the acceleration data in your application.
| Method Summary | |
|---|---|
void |
accelerationReceived(AccelerationEvent event)
This method would be called if a Device source has been accelerated. |
void |
motionStartReceived(MotionStartEvent event)
This method would be called if a Device is in idle state and then a motion starts or if a Device is in motion and then the motion stops and the Device is in idle state. |
void |
motionStopReceived(MotionStopEvent event)
This method would be called if a Device is in motion and then the motion stops and the Device is in idle state. |
| Method Detail |
|---|
void accelerationReceived(AccelerationEvent event)
event - The acceleration representation as an event.void motionStartReceived(MotionStartEvent event)
event - This is the event which contains if the Wiimote is now
in motion or not.void motionStopReceived(MotionStopEvent event)
event - This is the event which contains if the Device is now
in motion or not.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||