• Parameters

    • sensors: "linearAcceleration" | "magnetometer" | "magnetometer_raw" | "accelerometer" | "accelerometer_raw" | "gyroscope" | "gyroscope_raw" | "rotation" | "orientation" | "motion" | "barometer" | "proximity" | "stationary" | "stepCounter" | "stepDetector" | "temperature" | "heartBeat" | "heartRate" | "humidity" | "light" | "gravity" | "heading" | ("linearAcceleration" | "magnetometer" | "magnetometer_raw" | "accelerometer" | "accelerometer_raw" | "gyroscope" | "gyroscope_raw" | "rotation" | "orientation" | "motion" | "barometer" | "proximity" | "stationary" | "stepCounter" | "stepDetector" | "temperature" | "heartBeat" | "heartRate" | "humidity" | "light" | "gravity" | "heading")[]
    • listener: any
    • updateInterval: number
    • Optional maxReportLatency: number
    • Optional options: {
          headingDistanceAccuracy?: number;
          headingDistanceFilter?: number;
          headingFilter?: number;
          headingTrueNorth?: boolean;
      }
      • Optional headingDistanceAccuracy?: number
      • Optional headingDistanceFilter?: number
      • Optional headingFilter?: number
      • Optional headingTrueNorth?: boolean

    Returns Promise<boolean[]>

Generated using TypeDoc