stopRecord method

Future<bool> stopRecord()

暂停录像

Implementation

Future<bool> stopRecord() async {
  if (source == null) return false;
  print("textureId:$textureId start");
  var result = await app_player_channel.invokeMethod(
      "app_player_stop_record", this.textureId);
  if (result == true) {
    this.recordStatus = RecordStatus.STOP;
  }
  print("textureId:$textureId result:$result end");
  return result;
}