startCallRecording method

Future<void> startCallRecording()

开始通话录音

Implementation

Future<void> startCallRecording() async {
  try {
    await _channel.invokeMethod('startCallRecording');
  } on PlatformException catch (e) {
    throw Exception('开始录音失败: ${e.message}');
  }
}