stopScreenCapture method

Future<int?> stopScreenCapture()

Implementation

Future<int?> stopScreenCapture() async {
  $a() => ($instance as $p_a.RTCEngine).stopScreenCapture();
  $i() => ($instance as $p_i.ByteRTCEngine).stopScreenCapture();

  if (Platform.isAndroid) {
    return $a();
  } else if (Platform.isIOS) {
    return $i();
  } else {
    throw UnsupportedError(
        'Not Support Platform ${Platform.operatingSystem}');
  }
}