目录

Preparations

Before you start integration, make necessary preparations.

Enabling Push Kit

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.

Requesting Permissions

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.

Sample Code

This guide provides only code snippets. For the complete sample code, please refer to the sample code.