TxCameraSettings class
A message containing the msgCode and a collection of camera settings suitable for requesting the frameside app to take a photo with the specified settings
Constructors
- TxCameraSettings({required int msgCode, int qualityIndex = 0, int autoExpGainTimes = 5, int autoExpInterval = 100, int meteringIndex = 2, double exposure = 0.18, double exposureSpeed = 0.5, int shutterLimit = 800, int analogGainLimit = 248, double whiteBalanceSpeed = 0.5, int manualShutter = 800, int manualAnalogGain = 124, int manualRedGain = 512, int manualGreenGain = 512, int manualBlueGain = 512})
Properties
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