TRTCScreenCaptureSourceInfo constructor
TRTCScreenCaptureSourceInfo(- {TRTCScreenCaptureSourceType type = TRTCScreenCaptureSourceType.unknown,
- int viewId = 0,
- String sourceName = '',
- bool isMinimizeWindow = false,
- bool isMainScreen = false,
- int x = 0,
- int y = 0,
- int width = 0,
- int height = 0,
- TRTCImageBuffer? thumbBGRA,
- 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();