@@ -45,7 +45,7 @@ for more information
4545### Import the package
4646
4747``` dart
48- import 'package:web_callkit/web_callkit .dart';
48+ import 'package:web_callkit/web_callkit_web .dart';
4949```
5050
5151### Display the system call screen
@@ -54,7 +54,7 @@ Inform the plugin that an incoming call is being received. This will hook into t
5454notification system.
5555
5656``` dart
57- WebCallKit .instance.displayIncomingCall(uuid: '1234',handle: 'John Doe',);
57+ WebCallKitWeb .instance.displayIncomingCall(uuid: '1234',handle: 'John Doe',);
5858```
5959
6060### End the call
@@ -65,7 +65,7 @@ or disconnects with VoIP calls due to internet disruptions.
6565
6666The CallKit supports ` DisconnectResponse ` enum to specify the reason for the call disconnection.
6767
68- e.g. ` WebCallKit .instance.reportCallDisconnected('1234', response: DisconnectResponse.local);`
68+ e.g. ` WebCallKitWeb .instance.reportCallDisconnected('1234', response: DisconnectResponse.local);`
6969
7070| Reason | Description |
7171| ----------| ---------------------------------------------------------------------------------------|
@@ -92,7 +92,7 @@ Incoming calls are displayed on the screen with the caller's name and number. Th
9292customized with the caller's name, number, and profile picture.
9393
9494``` dart
95- WebCallKit .instance.reportNewCall(uuid: '1234', handle: 'John Doe',);
95+ WebCallKitWeb .instance.reportNewCall(uuid: '1234', handle: 'John Doe',);
9696```
9797
9898##### End Calls
@@ -101,7 +101,7 @@ End calls by calling the `endCall` method. This will remove the call screen and
101101notification.
102102
103103``` dart
104- WebCallKit .instance.reportCallDisconnected('1234', response:DisconnectResponse.local);
104+ WebCallKitWeb .instance.reportCallDisconnected('1234', response:DisconnectResponse.local);
105105```
106106
107107The response parameter is an enum of ` DisconnectResponse ` which specifies the reason for the call
@@ -145,7 +145,7 @@ The following describes the capabilities available:
145145The following provides an example of how to report call capabilities:
146146
147147``` dart
148- WebCallKit .instance.reportCallCapabilities('1234', capabilities: [CallCapability.hold, CallCapability.mute]);
148+ WebCallKitWeb .instance.reportCallCapabilities('1234', capabilities: [CallCapability.hold, CallCapability.mute]);
149149```
150150
151151#### Call Actions
0 commit comments