SensorSamplingPackage class
Methods
-
create(String type)
→ Probe?
-
Creates a new Probe of the specified
type
.
Returns null
if a probe cannot be created for this type
.
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
onRegister()
→ void
-
Callback method when this package is being registered.
override
-
toString()
→ String
-
A string representation of this object.
inherited
Constants
-
ACCELEROMETER
→ const String
-
Measure type for continuos collection of accelerometer data (x,y,z).
This includes gravity.
-
GYROSCOPE
→ const String
-
Measure type for continuos collection of gyroscope data (x,y,z).
-
LIGHT
→ const String
-
Measure type for collection of ambient light from the phones light sensor.
-
MAGNETOMETER
→ const String
-
Measure type for continuos collection of magnetometer data (x,y,z).
-
PEDOMETER
→ const String
-
Measure type for collection of step count from the phones pedometer sensor.
-
PERIODIC_ACCELEROMETER
→ const String
-
Measure type for periodic collection of accelerometer data (x,y,z).
-
PERIODIC_GYROSCOPE
→ const String
-
Measure type for periodic collection of gyroscope data (x,y,z).
-
PERIODIC_MAGNETOMETER
→ const String
-
Measure type for periodic collection of magnetometer data (x,y,z).
-
PERIODIC_USER_ACCELEROMETER
→ const String
-
Measure type for periodic collection of user accelerometer data (x,y,z).
-
USER_ACCELEROMETER
→ const String
-
Measure type for continuos collection of user accelerometer data (x,y,z).
This excludes gravity.