API Reference 0.5.1+4rikulo_accelerometerAccelerometerOptions

AccelerometerOptions class

Options used with Accelerometer.watchAcceleration

class AccelerometerOptions {
 /** interval in milliseconds to retrieve Accleration back; default to 10000 */
 final int frequency;

 AccelerometerOptions({int frequency : 10000})
     : this.frequency = frequency;

 Map _toMap() => {'frequency' : this.frequency};
}

Constructors

new AccelerometerOptions({int frequency: 10000}) #

AccelerometerOptions({int frequency : 10000})
   : this.frequency = frequency;

Properties

final int frequency #

interval in milliseconds to retrieve Accleration back; default to 10000

final int frequency