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

Editing a Recurring Meeting

API Description

This API is used to edit a meeting.

Precautions

  • Call this API before a meeting starts. If the meeting is already in progress, calling this API is invalid.
  • All fields are mandatory. Specify the fields to be edited as required, and assign values in the meeting details to remaining fields.

Method Definition

1
2
3
4
5
6
    /**
     * Edits a recurring meeting.
     * @param modifySubCycleConfParam Indicates parameters for editing a recurring meeting.
     * @param hwmCallback Indicates the result callback.
     */
   void editSubCycleConf(ModifySubCycleConfParam modifySubCycleConfParam, SdkCallback<Void> hwmCallback);

Parameter Description

Table 1 Parameter description

Parameter

Mandatory

Type

Description

modifySubCycleConfParam

Yes

ModifySubCycleConfParam

Parameters of a recurring meeting.

Table 2 ModifySubCycleConfParam parameter description

Parameter

Mandatory

Type

Description

editConfParam

Yes

EditConfParam

Parameters for editing the recurring meeting.

cycleConfParam

Yes

CycleConfParam

Parameters of the recurring meeting.

For details on other parameters, see Table 1.

Sample Code

 HWMBizSdk.getBizOpenApi().editSubCycleConf(modifySubCycleConfParam, new SdkCallback<Void>() {
                @Override
                public void onSuccess(Void v) {
                    DemoUtil.showToast("Edit sub cycle conf success");
                    doDismissDialogAndFragment();
                    mListener.onEditSubCycleConfSuccess();
                }

                @Override
                public void onFailed(SDKERR retCode) {
                    HCLog.i(TAG,"modifySubCycleConf onFailed" + retCode);
                    String err = ErrorMessageFactory.create(retCode);
                    if (TextUtils.isEmpty(err)) {
                        err = DemoUtil.getResContext().getString(R.string.hwmconf_edit_failed);
                    }
                    DemoUtil.showToast("Edit sub cycle conf failed: " + retCode + ",desc: " + err);
                    doDismissDialogAndFragment();
                }
            });
        });