CommandResultEvent class
An event of type MovisensBluetoothCharacteristics.commandResult
The response from the last usage of a write command on the device, such as setEnableMeasurement()
Uses enumerated response values CommandResult.
- Inheritance
-
- Object
- MovisensEvent
- CommandResultEvent
Constructors
-
CommandResultEvent({required List<
int> bytes, required String deviceId})
Properties
- commandResult → CommandResult
-
The result of the last command.
no setter
- deviceId → String
-
The ID of the device which emitted this event.
Uses a MAC address format on Android.
Uses a UUID format on iOS. (This is generated and unique to the connection between this exact device AND this exact iPhone)
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- time → DateTime
-
The time this event happened.
no setterinherited
- type ↔ MovisensBluetoothCharacteristics
-
The type of characteristic which emitted this event
as enum MovisensBluetoothCharacteristics.
getter/setter pairoverride
- uuid → String
-
Get the UUID of this type.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited