Updated on 2023-03-23 GMT+08:00

Configuring the Policy for Answering a Point-to-point Call

Notification Description

A notification is sent when a point-to-point call is received. The called party needs to return the policy for answering the meeting call. If no policy is configured, the default configuration is used, and the dialog box for answering the call is displayed.

Method Definition

1
- (HWMIncomingAnswerType)answerTypeOnCallIncoming;

Sample Code

- (HWMIncomingAnswerType)answerTypeOnCallIncoming {
    return HWMIncomingAnswerAutoAnswer; // Automatically answers the call.
}

Precautions

  1. Set the incomingAnswerHandler proxy during SDK initialization or set the proxy on the target page.