BACtrackState enum
There is one corresponding BACtrackState for each of the methods in the BACtrackAPICallbacks object defined in the BACtrack SDK. These states are named the same as the callback methods minus the BACtrack prefix on each. The only exceptions are:
BACtrackStart -> startBlowing BACtrackBlow -> keepBlowing BACtrackSerial -> serialNumber
These have been slightly renamed for additional clarity.
Constructors
- BACtrackState()
-
const
Values
- apiKeyDeclined → const BACtrackState
- apiKeyAuthorized → const BACtrackState
- didConnect → const BACtrackState
- connected → const BACtrackState
- disconnected → const BACtrackState
- connectionTimeout → const BACtrackState
- foundBreathalyzer → const BACtrackState
- countDown → const BACtrackState
- startBlowing → const BACtrackState
- keepBlowing → const BACtrackState
- analyzing → const BACtrackState
- results → const BACtrackState
- firmwareVersion → const BACtrackState
- serialNumber → const BACtrackState
- units → const BACtrackState
- useCount → const BACtrackState
- batteryVoltage → const BACtrackState
- batteryLevel → const BACtrackState
- error → const BACtrackState
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
BACtrackState> - A constant List of the values in this enum, in order of their declaration.