SensorData = function() {
  /**
   * Time elapsed since hte last sensor reading.
   * @type {number}
   */
  this.timeDelta = 0;

  /**
   * Acceleration reading.
   * @type {!Float32Array}
   */
  this.acceleration = new Float32Array(3);

  /**
   * Rotation rate reading.
   * @type {!Float32Array}
   */
  this.rotationRate = new Float32Array(3);

  /**
   * Magnetic field reading.
   * @type {!Float32Array}
   */
  this.magneticField = new Float32Array(3);

  /**
   * Temperature reading.
   * @type {number}
   */
  this.temperature = 0;
}
Sensor data from the device.
These are cached instances that are overwritten each time new data arrives.
If you need to preserve this data, clone it.