startCapturer static method

Future<void> startCapturer(
  1. bool switchWithHeightIfLandscape
)

开启摄像头

Implementation

static Future<void> startCapturer(bool switchWithHeightIfLandscape) async {
  await _channel.invokeMethod('startCapturer',
      {'switchWithHeightIfLandscape': switchWithHeightIfLandscape});
}