Updated on 2024-07-30 GMT+08:00

Canceling a Recurring Meeting Series

API Description

This API is used to cancel a recurring meeting series that has not been started yet.

Precautions

Call this API before a recurring meeting series ends. If the recurring meeting series ends, calling this API is invalid.

Method Definition

1
2
3
4
5
6
7
    /**
     * Cancels a recurring meeting series.
     *
     * @param cycleConfId Indicates the ID of a recurring meeting series.
     * @param hwmCallback Indicates the result callback.
     */
   void cancelCycleConf(String cycleConfId, HwmCallback<Integer> hwmCallback);

Parameter Description

Table 1 Parameter description

Parameter

Mandatory

Type

Description

confConfId

Yes

String

Recurring meeting series ID.

Sample Code

HWMBizSdk.getBizOpenApi().cancelCycleConf(item.getConfId(), new HwmCallback<Integer>() {
                @Override
                public void onSuccess(Integer result) {
                    HCLog.i(TAG,"cancelCycleConf onFailed" + result);
                    doDismissDialogAndFragment();
                    DemoUtil.showToast("cancel cycle conf success");
                }

                @Override
                public void onFailed(int retCode, String desc) {
                    doDismissDialogAndFragment();
                    String err = ErrorMessageFactory.create(retCode);
                    if (TextUtils.isEmpty(err)) {
                        err = DemoUtil.getResContext().getString(R.string.hwmconf_cancel_fail_tip);
                    }
                    DemoUtil.showToast("cancel cycle conf failed: " + err);
                }
            });