getPreviewMirror method

Future<bool> getPreviewMirror()

获取预览镜像

returns 是否开启预览镜像 默认: false

Implementation

Future<bool> getPreviewMirror() async {
  String strV = await AlivcLivePusherConfig.methodChannel
      .invokeMethod('getPreviewMirror', _wrap());
  int intV = int.parse(strV);
  return intV == 1 ? true : false;
}