TRTCScreenCaptureSourceInfo constructor

TRTCScreenCaptureSourceInfo({
  1. TRTCScreenCaptureSourceType type = TRTCScreenCaptureSourceType.unknown,
  2. int viewId = 0,
  3. String sourceName = '',
  4. bool isMinimizeWindow = false,
  5. bool isMainScreen = false,
  6. int x = 0,
  7. int y = 0,
  8. int width = 0,
  9. int height = 0,
  10. TRTCImageBuffer? thumbBGRA,
  11. TRTCImageBuffer? iconBGRA,
})

Implementation

TRTCScreenCaptureSourceInfo({
  this.type = TRTCScreenCaptureSourceType.unknown,
  this.viewId = 0,
  this.sourceName = '',
  this.isMinimizeWindow = false,
  this.isMainScreen = false,
  this.x = 0,
  this.y = 0,
  this.width = 0,
  this.height = 0,
  TRTCImageBuffer? thumbBGRA,
  TRTCImageBuffer? iconBGRA,
}) : thumbBGRA = thumbBGRA ?? TRTCImageBuffer(),
  iconBGRA = iconBGRA ?? TRTCImageBuffer();