Documentation
    Preparing search index...

    Interface MockMotionSnapshot

    MotionState pushed as motion.state.

    interface MockMotionSnapshot {
        absolute: boolean;
        available: boolean;
        focused: boolean;
        frequency: number;
        permission: MockMotionPermission;
        reason?: "unavailable" | "blocked";
    }
    Index

    Properties

    absolute: boolean

    Absolute orientation granted.

    available: boolean

    Runtime can read sensors.

    focused: boolean

    Samples currently flow.

    frequency: number

    Delivered samples per second.

    This napplet's grant.

    reason?: "unavailable" | "blocked"

    Unavailability reason.