updateCallKitIcon method

  1. @override
Future<bool?> updateCallKitIcon({
  1. String? icon,
})
override

Set iOS call kit icon

This allows for CallKit customization: setting the last button (bottom right) of the callkit.

Ensure you have an icon registered in your XCode project (Runner > Assets)

To do this:

Use TwilioVoice.instance.updateCallKitIcon(icon: "TransparentIcon")

Implementation

@override
Future<bool?> updateCallKitIcon({String? icon}) {
  return _channel.invokeMethod('updateCallKitIcon', <String, dynamic>{"icon": icon});
}