PedometerSensorConfig class
A configuration class of PedometerSensor
You can initialize the class by following code.
var config = PedometerSensorConfig();
config
..debug = true
..frequency = 100;
- Inheritance
-
- Object
- AwareSensorConfig
- PedometerSensorConfig
Constructors
- PedometerSensorConfig({int interval = 10})
Properties
- dbEncryptionKey ↔ String?
-
The database encryption key (default =
null
)getter/setter pairinherited - dbHost ↔ String?
-
The remote database host name (default =
null
)getter/setter pairinherited - dbPath ↔ String
-
The local database path (default = "aware")
getter/setter pairinherited
- dbType ↔ DatabaseType
-
The database type on Android (default = DatabaseTypeAndroid.ROOM)
getter/setter pairinherited
- debug ↔ bool
-
The status of debug mode (default = false)
getter/setter pairinherited
- deviceId ↔ String?
-
The deviceId of the sensor (default =
null
).getter/setter pairinherited - enabled ↔ bool
-
The status of sensor enabled of not (default = false)
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- interval ↔ int
-
getter/setter pair
- label ↔ String
-
The label for the sensor data (default = "")
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
Generate a Map<String,dynamic> object for sensing the configuration via
MethodChannel. Sending the configuration object through the MethodChannel,
we have to use a Map object.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited