public class DeviceMotionEvent extends Event
Event.ComposedPathArrayUnionType, Event.DeepPathFn| Modifier and Type | Field and Description |
|---|---|
DeviceAcceleration |
acceleration |
DeviceAcceleration |
accelerationIncludingGravity |
double |
interval |
DeviceRotationRate |
rotationRate |
AT_TARGET, bubbles, BUBBLING_PHASE, cancelable, CAPTURING_PHASE, composed, currentTarget, deepPath, defaultPrevented, eventPhase, namespaceURI, path, target, timeStamp, type| Constructor and Description |
|---|
DeviceMotionEvent() |
composedPath, initEvent, initEvent, initEvent, preventDefault, stopImmediatePropagation, stopPropagationpublic DeviceAcceleration acceleration
public DeviceAcceleration accelerationIncludingGravity
public double interval
public DeviceRotationRate rotationRate