reportCallUpdated method
Reports to the provider that an active call updated its information.
uuid
is the unique identifier of the call.
Note that this value will be uppercased by the CallKit.
update
is the updated information.
Implementation
Future<void> reportCallUpdated(String uuid, FCXCallUpdate update) async {
try {
String method = 'reportCallUpdated';
await _methodChannel.invokeMethod(
'$_PROVIDER.$method',
{'uuid': uuid, 'callUpdate': update._toMap()},
);
_FCXLog._i(runtimeType, '$method uuid: $uuid');
} on PlatformException catch (e) {
var exception = FCXException(e.code, e.message);
_FCXLog._e(runtimeType, exception);
throw exception;
}
}