Device class

Constructors

Device(Device_ device_, AidlabManager_ aidlabManager_)

Properties

address String
getter/setter pair
aidlabManager_ ↔ AidlabManager_?
getter/setter pair
delegate DeviceDelegate?
getter/setter pair
device_ ↔ Device_?
getter/setter pair
firmwareRevision String?
getter/setter pair
hardwareRevision String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
manufacturerName String?
getter/setter pair
name String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serialNumber String?
getter/setter pair

Methods

collect(List<DataType> dataTypes, List<DataType> dataTypesToStore) → void
Start collecting data from the device.
connect(DeviceDelegate delegate) → void
Connects to the device.
didConnect(Device_ device_) → void
didDetectExercise(Device_ device, Exercise_ exercise) → void
didDetectPastUserEvent(Device_ device, int timestamp) → void
didDetectUserEvent(Device_ device, int timestamp) → void
didDisconnect(Device_? device, DisconnectReason_ reason) → void
didReceiveAccelerometer(Device_ device, int timestamp, double ax, double ay, double az) → void
didReceiveActivity(Device_ device, int timestamp, ActivityType_ activity) → void
didReceiveBatteryLevel(Device_ device, int stateOfCharge) → void
didReceiveBodyPosition(Device_ device, int timestamp, BodyPosition_ bodyPosition) → void
didReceiveCommand(Device_ device) → void
didReceiveECG(Device_ device, int timestamp, double value) → void
didReceiveError(String error) → void
didReceiveGyroscope(Device_ device, int timestamp, double qx, double qy, double qz) → void
didReceiveHeartRate(Device_ device, int timestamp, int heartRate) → void
didReceiveMagnetometer(Device_ device, int timestamp, double mx, double my, double mz) → void
didReceiveMessage(Device_ device, String process, String message) → void
didReceiveOrientation(Device_ device, int timestamp, double roll, double pitch, double yaw) → void
didReceivePastAccelerometer(Device_ device, int timestamp, double ax, double ay, double az) → void
didReceivePastActivity(Device_ device, int timestamp, ActivityType_ activity) → void
didReceivePastBodyPosition(Device_ device, int timestamp, BodyPosition_ bodyPosition) → void
didReceivePastECG(Device_ device, int timestamp, double value) → void
didReceivePastGyroscope(Device_ device, int timestamp, double qx, double qy, double qz) → void
didReceivePastHeartRate(Device_ device, int timestamp, int heartRate) → void
didReceivePastMagnetometer(Device_ device, int timestamp, double mx, double my, double mz) → void
didReceivePastOrientation(Device_ device, int timestamp, double roll, double pitch, double yaw) → void
didReceivePastPressure(Device_ device, int timestamp, int value) → void
didReceivePastQuaternion(Device_ device, int timestamp, double qw, double qx, double qy, double qz) → void
didReceivePastRespiration(Device_ device, int timestamp, double value) → void
didReceivePastRespirationRate(Device_ device, int timestamp, int value) → void
didReceivePastRr(Device_ device, int timestamp, int rr) → void
didReceivePastSignalQuality(Device_ device, int timestamp, int value) → void
didReceivePastSkinTemperature(Device_ device, int timestamp, double value) → void
didReceivePastSoundFeatures(Device_ device, int timestamp, List<double?> values) → void
didReceivePastSoundVolume(Device_ device, int timestamp, int soundVolume) → void
didReceivePastSteps(Device_ device, int timestamp, int value) → void
didReceivePressure(Device_ device, int timestamp, int value) → void
didReceiveQuaternion(Device_ device, int timestamp, double qw, double qx, double qy, double qz) → void
didReceiveRespiration(Device_ device, int timestamp, double value) → void
didReceiveRespirationRate(Device_ device, int timestamp, int value) → void
didReceiveRr(Device_ device, int timestamp, int rr) → void
didReceiveSignalQuality(Device_ device, int timestamp, int value) → void
didReceiveSkinTemperature(Device_ device, int timestamp, double value) → void
didReceiveSoundFeatures(Device_ device, int timestamp, List<double?> values) → void
didReceiveSoundVolume(Device_ device, int timestamp, int value) → void
didReceiveSteps(Device_ device, int timestamp, int steps) → void
didReceiveUnsynchronizedSize(Device_ device, int unsynchronizedSize, double syncBytesPerSecond) → void
disconnect() → void
Disconnect from the device.
dispose() → void
Disposes the device.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pressureWearStateDidChange(Device_ device, WearState_ wearState) → void
send(Device_ device, String command) → void
Sends a command to the device (e.g. to change LED brightness).
setEcgFiltrationMethod(Device_ device, EcgFiltrationMethod_ method) → void
Set ECG filtration method (e.g. to change LED brightness).
setTime(Device_ device, int timestamp) → void
Sets the time on the device.
startSynchronization(Device_ device) → void
Start sending data from internal memory.
stopSynchronization(Device_ device) → void
Stop sending data from internal memory.
syncStateDidChange(Device_ device, SyncState_ state) → void
toString() String
A string representation of this object.
inherited
wearStateDidChange(Device_ device, WearState_ wearState) → void

Operators

operator ==(Object other) bool
The equality operator.
inherited