getCallState method

  1. @override
Future<SCCallState?> getCallState()
override

Retrieves the current call state.

Implementation

@override
Future<SCCallState?> getCallState() async {
  var result = await _methodChannel.invokeMethod(SCMethodCall.getCallState);
  return SCCallState.fromString(result);
}