updateService static method

Future<bool> updateService(
  1. NotificationPayload options,
  2. ServiceType type
)

Implementation

static Future<bool> updateService(
  NotificationPayload options,
  ServiceType type,
) async {
  if (!isAndroid) {
    return false;
  }

  return StreamVideoFlutterPlatform.instance.updateBackgroundService(
    payload: options,
    type: type,
  );
}