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 HWMIncomingAnswerNormal;// Default configuration.
}

Precautions

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

Parameter Description

Table 1 HWMInComingAnswerType parameters

Parameter

Description

HWMIncomingAnswerNormal

Default configuration. (The screen for answering an incoming call is displayed.)

HWMIncomingAnswerAutoDecline

The call is automatically rejected.

HWMIncomingAnswerAutoAnswer

The call is automatically answered.