Answering Policy Configuration of Incoming Calls
Notification Description
You can customize the mode of automatically processing an incoming meeting call in OpenSDKConfig. By default, the answering screen is displayed for manual processing.
Application Scenarios
Answering a call directly when receiving a meeting invitation: answerTypeOnConfIncoming. HWMIncomingAnswerType.HWM_INCOMING_AUTO_ANSWER is returned.
Rejecting a call when receiving a meeting invitation: answerTypeOnConfIncoming. HWMIncomingAnswerType.HWM_IMCOMING_AUTO_DECLINE is returned.
Precautions
sdkConfig takes effect only when this configuration is passed during SDK initialization.
Sample Code
1 2 3 4 5 6 7 |
sdkConfig.setInComingHandle(new IIncomingHandle() { @Override public HWMIncomingAnswerType answerTypeOnConfIncoming() { // Customize the incoming call processing mode for meeting invitations. return HWMIncomingAnswerType.HWM_IMCOMING_NORMAL; } }); |
Reference Returned Values
1 2 3 4 5 |
public enum HWMIncomingAnswerType { HWM_IMCOMING_NORMAL(0, "HWM_IMCOMING_NORMAL"), // The default processing mode is used. HWM_IMCOMING_AUTO_DECLINE(1, "HWM_IMCOMING_AUTO_DECLINE"), // The call is automatically rejected. HWM_INCOMING_AUTO_ANSWER(2, "HWM_INCOMING_AUTO_ANSWER"); // The call is automatically answered. } |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot