Updated on 2025-07-28 GMT+08:00

Editing a 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. Input their values or use values returned in the meeting details.

Method Definition

1
2
3
4
5
6
    /**
     * Edit a meeting.
     * @param editConfParam Indicates the editConfParam object.
     * @param hwmCallback Indicates the result callback.
     */
   void editConf(EditConfParam editConfParam, HwmCallback<Integer> hwmCallback);

Parameter Description

Table 1 EditConfParam description

Parameter

Mandatory

Type

Description

confId

Yes

String

Meeting ID.

isLiveOn

Yes

boolean

Whether live broadcast is enabled for the meeting.

customInfo

Yes

String

User-defined data on the device side. The server is unaware of the data.

autoMuteMode

Yes

AutoMuteType

Whether to automatically mute personal client users when they join the meeting.

hardTerminalAutoMuteMode

Yes

AutoMuteType

Whether to automatically mute meeting room device users when they join the meeting.

defaultSummaryState

Yes

SummaryState

Default state of smart meeting minutes during recording.

autoPublishSummary

Yes

boolean

Whether to automatically release minutes (without manual review).

For details on other parameters, see Parameter Description.

Sample Code

EditConfParam editConfParam = new EditConfParam()
		.setConfId(this.confDetailModel.getConfId())
		.setVmrIdFlag(1 == this.confDetailModel.getVmrFlag())
		.setVmrId(this.confDetailModel.getVmrId())
		.setConfSubject(getSubject())
		.setStartTimeStamp(1743075947)
		.setTimeZone(56)
		.setDuration(60)
		.setConfType(MeetingType.CONF_VIDEO)
		.setNeedConfPwd(!this.confDetailModel.getIsGuestFreePwd())
		.setJoinConfRestrictionType(JoinConfPermissionType.PERMIT_EVERYONE)
		.setRecordOn(true)
		.setMailOn(true)
		.setSmsOn(true)
		.setEmailCalenderOn(true)
		.setAttendees(attendeeInfos);
HWMBizSdk.getBizOpenApi().editConf(editConfParam, new HwmCallback<Integer>() {
	@Override
	public void onSuccess(Integer integer) {
		dismissLoading();
  DemoUtil.showToast("Meeting edited:" + integer);
	}

	@Override
	public void onFailed(int retCode, String desc) {
		dismissLoading();
		String err = ErrorMessageFactory.create(Utils.getApp(), retCode);
		if (TextUtils.isEmpty(err)) {
			err = Utils.getApp().getString(R.string.hwmconf_edit_failed);
		}
  DemoUtil.showToast("Failed to edit the meeting: " + retCode +", desc: "+ err);
	}
});