callKitUUID property

String? get callKitUUID

The CallKit UUID that may be used to match an incoming call with a push notification received before.

Implemented for iOS only.

Always null for outgoing call on VICall instance creation.

For outgoing calls it is recommended to set CXStartCallAction.callUUID value to this property on handling CXStartCallAction.

Implementation

String? get callKitUUID => _callKitUUID;
set callKitUUID (String? uuid)

Implementation

set callKitUUID(String? uuid) {
  _callKitUUID = uuid?.toUpperCase();
  if (Platform.isIOS) {
    _channel.invokeMethod<void>('Call.setCallKitUUID',
        <String, dynamic>{'callId': _callId, 'uuid': _callKitUUID});
  }
}