Customizing the Ringing and Vibration for Incoming Meetings
1
|
HWMSdk.getOpenApi.changeInComingNotice(boolean isVibrate, boolean isRing, HwmCallback<Boolean> callback); |
API Description
This API is used to modify the incoming meeting notification mode.
Precautions
This API takes effect only after you log in and before you receive an incoming meeting.
Method Definition
1 2 3 4 5 6 |
/** * Changes the incoming meeting notification mode. * @param isVibrate Indicates whether to enable vibration. * @param isRing Indicates whether to enable ringing. */ void changeInComingNotice(boolean isVibrate, boolean isRing, HwmCallback<Boolean> callback); |
Parameter Description
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
isVibrate |
Yes |
boolean |
Whether to enable vibration. |
isRing |
Yes |
boolean |
Whether to enable ringing. |
callback |
Yes |
HwmCallback |
Callback of setting the incoming meeting notification mode. |
Return Values
None
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
HWMSdk.getOpenApi(HWMBizSdk.getApplication()).changeInComingNotice(isOpenVibrate, isOpenRing, new HwmCallback<Boolean>() { @Override public void onFailed(int retCode, String desc) { dismissLoading(); dismiss(); if (!TextUtils.isEmpty(desc)) { DemoUtil.showToast(desc); } else { DemoUtil.showToast("Failed to modify the incoming meeting notification mode."); } } @Override public void onSuccess(Boolean aBoolean) { dismissLoading(); dismiss(); } }); |
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