TxCode class

A message containing only a single optional byte suitable for signalling the frameside app to take some action (e.g. toggle streaming, take a photo with default parameters etc.)

Inheritance

Constructors

TxCode({int value = 0})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pack() Uint8List
pack() should produce a message data payload that can be parsed by a corresponding parser in the frameside application (Lua) The 0x01 (raw user data marker) byte and the msgCode byte are prepended to each bluetooth write() call by the Frame BLE sendDataRaw() method, followed by the maximum amount of payload data that will fit until the whole message is sent.
override
toString() String
A string representation of this object.
inherited

Operators

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