enableConnectionService method

Future<int> enableConnectionService({
  1. required bool enabled,
})

Enables or disables ConnectionService at runtime (Android only).

On iOS, use enableCallKit instead.

Parameters:

  • enabled: Whether to enable ConnectionService

Returns 0 on success, negative error code on failure.

Implementation

Future<int> enableConnectionService({required bool enabled}) async {
  throw UnimplementedError('enableConnectionService has not been implemented.');
}