useSystemCallingUI method
Implementation
void useSystemCallingUI(List<IZegoUIKitPlugin> plugins) {
ZegoLoggerService.logInfo(
'using system calling ui, plugins size: ${plugins.length}',
tag: 'call',
subTag: 'call invitation service(${identityHashCode(this)})',
);
ZegoUIKit().installPlugins(plugins);
if (Platform.isAndroid) {
ZegoLoggerService.logInfo(
'register background message handler',
tag: 'call',
subTag: 'call invitation service(${identityHashCode(this)})',
);
ZegoUIKit()
.getSignalingPlugin()
.setBackgroundMessageHandler(onBackgroundMessageReceived);
} else if (Platform.isIOS) {
ZegoLoggerService.logInfo(
'register incoming push receive handler',
tag: 'call',
subTag: 'call invitation service(${identityHashCode(this)})',
);
private._enableIOSVoIP = true;
ZegoUIKit()
.getSignalingPlugin()
.setIncomingPushReceivedHandler(onIncomingPushReceived);
private.iOSCallkit._initIOSCallkitService();
}
}