configureConnectionService method

Future<int> configureConnectionService({
  1. required String appName,
  2. bool canUseConnectionService = true,
})

Configures ConnectionService with app name and settings (Android only).

ConnectionService is Android's equivalent to iOS CallKit, providing:

  • Native call UI on Android
  • Background call protection
  • System call management integration

On iOS, use configureCallKit instead.

Parameters:

  • appName: The app name to display in the system call UI
  • canUseConnectionService: Whether to enable ConnectionService (default: true)

Returns 0 on success, negative error code on failure.

Implementation

Future<int> configureConnectionService({
  required String appName,
  bool canUseConnectionService = true,
}) async {
  throw UnimplementedError('configureConnectionService has not been implemented.');
}