stopService static method

Future<bool> stopService(
  1. ServiceType type, {
  2. String? callCid,
})

Implementation

static Future<bool> stopService(
  ServiceType type, {
  String? callCid,
}) async {
  if (!isAndroid) {
    return false;
  }
  return StreamVideoFlutterPlatform.instance
      .stopBackgroundService(type, callCid: callCid);
}