initDeviceMotionEvent method

  1. @DomName('DeviceMotionEvent.initDeviceMotionEvent')
  2. @DocsEditable()
  3. @Experimental()
void initDeviceMotionEvent(String type, bool bubbles, bool cancelable, DeviceAcceleration acceleration, DeviceAcceleration accelerationIncludingGravity, DeviceRotationRate rotationRate, num interval)

Source

@DomName('DeviceMotionEvent.initDeviceMotionEvent')
@DocsEditable()
@Experimental() // untriaged
void initDeviceMotionEvent(
        String type,
        bool bubbles,
        bool cancelable,
        DeviceAcceleration acceleration,
        DeviceAcceleration accelerationIncludingGravity,
        DeviceRotationRate rotationRate,
        num interval) =>
    _blink.BlinkDeviceMotionEvent.instance.initDeviceMotionEvent_Callback_7_(
        this,
        type,
        bubbles,
        cancelable,
        acceleration,
        accelerationIncludingGravity,
        rotationRate,
        interval);

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/DeviceMotionEvent/initDeviceMotionEvent.html