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

Editing a Recurring Meeting Series

API Description

This API is used to edit a recurring meeting series.

Precautions

None

Method Definition

1
2
3
4
5
6
    /**
     * Edits a recurring meeting series.
     * @param editConfParam Indicates parameters for editing a recurring meeting series.
     * @param hwmCallback Indicates the result callback.
     */
   void editCycleConf(EditCycleConfParam editCycleConfParam, HwmCallback<Integer> hwmCallback);

Parameter Description

Table 1 Parameter description

Parameter

Mandatory

Type

Description

editCycleConfParam

Yes

EditCycleConfParam

Parameter body for editing a recurring meeting series.

callback

Yes

HwmCallback<Integer>

Result callback for editing the recurring meeting series.

Table 2 EditCycleConfParam parameter description

Parameter

Mandatory

Type

Description

editConfParam

Yes

EditConfParam

Parameters for editing the recurring meeting series.

cycleConfParam

Yes

CycleConfParam

Parameters of recurring meetings.

Sample Code

HWMBizSdk.getBizOpenApi().editCycleConf(editCycleConfParam, new HwmCallback<Integer>() {
                @Override
                public void onSuccess(Integer integer) {
                    dismissGlobalLoading();
                    DemoUtil.showToast("Recurring meeting series edited: " + integer);
                }

                @Override
                public void onFailed(int retCode, String desc) {
                    HCLog.i(TAG, "edit cycle conf " + retCode + " desc " + desc);
                    dismissGlobalLoading();
                    String err = ErrorMessageFactory.create(retCode);
                    if (TextUtils.isEmpty(err)) {
                        err = DemoUtil.getResContext().getString(R.string.hwmconf_edit_failed);
                    }
                    DemoUtil.showToast("Edit recurring meeting series failed: " + retCode + ",desc: " + err);
                }
            });