TxCameraSettings constructor
TxCameraSettings({})
Implementation
TxCameraSettings({
required super.msgCode,
int qualityIndex = 0, // [10, 25, 50, 100];
int autoExpGainTimes =
0, // val >= 0; number of times auto exposure and gain algorithm will be run every 100ms
int meteringIndex = 2, // ['SPOT', 'CENTER_WEIGHTED', 'AVERAGE'];
double exposure = 0.18, // 0.0 <= val <= 1.0
double exposureSpeed = 0.5, // 0.0 <= val <= 1.0
int shutterLimit = 800, // 4 <= val <= 16383
int analogGainLimit = 248, // 0 <= val <= 248
double whiteBalanceSpeed = 0.5, // 0.0 <= val <= 1.0
})
: _qualityIndex = qualityIndex,
_autoExpGainTimes = autoExpGainTimes,
_meteringIndex = meteringIndex,
_exposure = exposure,
_exposureSpeed = exposureSpeed,
_shutterLimit = shutterLimit,
_analogGainLimit = analogGainLimit,
_whiteBalanceSpeed = whiteBalanceSpeed;