TxCaptureSettings constructor

TxCaptureSettings({
  1. required int msgCode,
  2. int resolution = 512,
  3. int qualityIndex = 4,
  4. int pan = 0,
  5. bool raw = false,
})

Implementation

TxCaptureSettings({
    required super.msgCode,
    int resolution = 512, // any even number between 100 and 720
    int qualityIndex = 4, // zero-based index into [VERY_LOW, LOW, MEDIUM, HIGH, VERY_HIGH]
    int pan = 0, // any number between -140 and 140, where 0 represents a centered image
    bool raw = false,
    })
    : _resolution = resolution,
      _qualityIndex = qualityIndex,
      _pan = pan,
      _raw = raw;