selectScreenCaptureTarget method
void
selectScreenCaptureTarget(
- TRTCScreenCaptureSourceInfo source,
- TRTCRect rect,
- TRTCScreenCaptureProperty property
Implementation
void selectScreenCaptureTarget(TRTCScreenCaptureSourceInfo source, TRTCRect rect, TRTCScreenCaptureProperty property) {
ffi.Pointer<trtc_screen_capture_source_info_t> sourcePointer = trtc_screen_capture_source_info_t.fromParams(source);
ffi.Pointer<trtc_rect_t> rectPointer = trtc_rect_t.fromParams(rect);
ffi.Pointer<trtc_screen_capture_property_t> propertyPointer = trtc_screen_capture_property_t.fromParams(property);
_trtcFFIBindings.select_screen_capture_target(_trtcsharedInstanceNativePointer, sourcePointer.ref, rectPointer.ref, propertyPointer.ref);
trtc_screen_capture_source_info_t.freeStruct(sourcePointer);
trtc_rect_t.freeStruct(rectPointer);
trtc_screen_capture_property_t.freeStruct(propertyPointer);
}