TxPlainText class

A message containing the msgCode and a String of plain text, plus optional top-left corner position coordinates for the text to be printed in the Frame display (Lua/1-based, i.e. 1,1 to 640,400) plus an optional palette offset (1..15, 0/'VOID' is invalid), plus optional character spacing

Inheritance

Constructors

TxPlainText({required int msgCode, required String text, int x = 1, int y = 1, int paletteOffset = 1, int spacing = 4})

Properties

hashCode int
The hash code for this object.
no setterinherited
msgCode int
no setterinherited
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
pack() Uint8List
pack() should produce a message data payload that can be parsed by a corresponding parser in the frameside application (Lua) TxMsg needs to know its own message code, but it is not included in the payload bytes returned by pack; the 0x01 data byte and the msgCode byte are prepended to each bluetooth write() call by the 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