public interface OrientationDetector
Modifier and Type | Interface and Description |
---|---|
static class |
OrientationDetector.OrientationDetectorProvider |
Modifier and Type | Method and Description |
---|---|
void |
fireOrientationEvent(double x,
double y,
double z) |
void |
setOrientationEventSource(javax.enterprise.event.Event<OrientationEvent> orientationEventSource)
The provider class that creates the detector calls this method to give us a
means of firing the event.
|
void |
startFiringOrientationEvents()
Starts the periodic firing of CDI OrientationEvents.
|
void |
stopFiringOrientationEvents()
Stops the periodic firing of CDI OrientationEvents.
|
void stopFiringOrientationEvents()
void startFiringOrientationEvents()
void setOrientationEventSource(javax.enterprise.event.Event<OrientationEvent> orientationEventSource)
void fireOrientationEvent(double x, double y, double z)
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.