Before you start integration, make necessary preparations.
As described in Relationship with Other Kits, you need to enable Push Kit before enabling Call Service Kit. For details, please refer to Enabling Push Kit.
You need to request permissions according to your actual needs. For details, please refer to Declaring Permissions.
| Permission | Scenario | Remarks |
|---|---|---|
| ohos.permission.MICROPHONE | Using the microphone during a voice call. | Mandatory. |
| ohos.permission.CAMERA | Using the camera during a video call. | Needed when the app supports video calls. |
This guide provides only code snippets. For the complete sample code, please refer to the sample code.