startLocalPreview method

dynamic startLocalPreview({
  1. required bool frontCamera,
})

开启本地视频采集 frontCamera 是否是前置摄像头

Implementation

startLocalPreview({required bool frontCamera}) =>
    _channel.invokeMethod('startLocalPreview', {"frontCamera": frontCamera});