public class DeviceMotionEvent extends Event
Objs.Constructor<T extends Objs>, Objs.Property<T>
Modifier and Type | Field and Description |
---|---|
Objs.Property<DeviceAcceleration> |
acceleration |
Objs.Property<DeviceAcceleration> |
accelerationIncludingGravity |
Objs.Property<Number> |
interval |
Objs.Property<DeviceRotationRate> |
rotationRate |
AT_TARGET, bubbles, BUBBLING_PHASE, cancelable, cancelBubble, CAPTURING_PHASE, currentTarget, defaultPrevented, eventPhase, isTrusted, returnValue, srcElement, target, timeStamp, type
Modifier | Constructor and Description |
---|---|
protected |
DeviceMotionEvent(Objs.Constructor<?> c,
Object js) |
Modifier and Type | Method and Description |
---|---|
static DeviceMotionEvent |
$as(Object obj) |
DeviceAcceleration |
acceleration() |
DeviceAcceleration |
accelerationIncludingGravity() |
void |
initDeviceMotionEvent(String type,
Boolean bubbles,
Boolean cancelable,
DeviceAccelerationDict acceleration,
DeviceAccelerationDict accelerationIncludingGravity,
DeviceRotationRateDict rotationRate,
double interval) |
Number |
interval() |
DeviceRotationRate |
rotationRate() |
AT_TARGET, bubbles, BUBBLING_PHASE, cancelable, cancelBubble, CAPTURING_PHASE, currentTarget, defaultPrevented, eventPhase, initEvent, isTrusted, preventDefault, returnValue, srcElement, stopImmediatePropagation, stopPropagation, target, timeStamp, type
$as, $cast, $delete, $get, $js, $set, create, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, newObject, newObject, preventExtensions, propertyIsEnumerable, seal, toLocaleString, toString, valueOf
public Objs.Property<DeviceAcceleration> acceleration
public Objs.Property<DeviceAcceleration> accelerationIncludingGravity
public Objs.Property<Number> interval
public Objs.Property<DeviceRotationRate> rotationRate
protected DeviceMotionEvent(Objs.Constructor<?> c, Object js)
public static DeviceMotionEvent $as(Object obj)
public DeviceAcceleration acceleration()
public DeviceAcceleration accelerationIncludingGravity()
public Number interval()
public DeviceRotationRate rotationRate()
public void initDeviceMotionEvent(String type, Boolean bubbles, Boolean cancelable, DeviceAccelerationDict acceleration, DeviceAccelerationDict accelerationIncludingGravity, DeviceRotationRateDict rotationRate, double interval)
Copyright © 2018. All rights reserved.