• 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

    Returns Promise<void[]>