All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.web.device.DeviceMotionEvent.kt Maven / Gradle / Ivy

// Automatically generated - do not modify!

package web.device

import web.events.Event
import web.events.EventInit

external interface DeviceMotionEventInit : EventInit {
    var acceleration: DeviceMotionEventAccelerationInit?
    var accelerationIncludingGravity: DeviceMotionEventAccelerationInit?
    var interval: Double?
    var rotationRate: DeviceMotionEventRotationRateInit?
}

open external class DeviceMotionEvent(
    type: String,
    init: DeviceMotionEventInit = definedExternally,
) : Event {
    val acceleration: DeviceMotionEventAcceleration?
    val accelerationIncludingGravity: DeviceMotionEventAcceleration?
    val interval: Double
    val rotationRate: DeviceMotionEventRotationRate?

    companion object
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy