Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
On this page

Show all

Scheduling a Meeting

Updated on 2024-12-27 GMT+08:00

bookConf

API Description

This API is used to schedule a meeting.

Precautions

  1. The start time of a meeting must be later than the current time.
  2. The vmrId parameter must be passed for a personal meeting or cloud meeting room.
  3. The attendee parameter must be passed if participant information needs to be carried.
  4. Meeting recording must be enabled if automatic recording is enabled.
  5. For details about the meeting details returned in the callback, see HWMConfDetail.

Method Definition

1
- (void)bookConf:(HWMOrderConfParam *_Nonnull)param callback:(_Nonnull HWMSDKCompleteHandler)callback;

Parameter Description

Table 1 HWMOrderConfParam description

Parameter

Mandatory

Type

Description

confSubject

Yes

NSString *

Meeting topic.

startTime

Yes

NSTimeInterval

Meeting start time. The value is a UTC timestamp, accurate to seconds.

NOTE:

The value is the difference between the UTC time and the UTC offset (converted into seconds). For example, if the time zone is UTC+08:00, the value is the UTC timestamp – (8 x 60 x 60).

duration

No

NSUInteger

Meeting duration, in minutes. The value ranges from 15 to 1,440.

confType

Yes

HWMOrderConfType

Meeting type.

isNeedConfPwd

No

BOOL

Whether a guest can join the meeting without the password.

NOTE:

This parameter is valid only for meetings with a random ID.

guestPwd

No

NSSting *

Guest password.

NOTE:

This parameter is valid only for meetings with a random ID.

isRecordOn

No

BOOL

Whether to enable meeting recording. This parameter will be discarded and is not recommended.

NOTE:

This parameter is valid only for cloud recording, not for local recording on clients.

isAutoRecord

No

BOOL

Whether to automatically start recording after the meeting starts. The function is disabled by default. Meeting recording must be enabled if automatic recording is enabled.

NOTE:

This parameter is valid only for cloud recording, not for local recording on clients.

timeZone

No

NSUInteger

Time zone. The current time zone is used by default. Value range: 1–73. For China, the value is 56 and GMT+08:00 time is used. For details, see Time Zone Table.

vmrId

No

NSString *

This parameter needs to be transferred for a personal meeting or cloud meeting room.

vmrIdType

No

HWMVmrIdType

ID type of the meeting if it is held in a cloud meeting room.

callInRestrictionType

No

HWMJoinConfRestrictionType

Users who are allowed to join the meeting.

attendee

No

NSArray<HWMAttendeeInfo *> *

Participant details.

isSmsOn

No

BOOL

(Optional) Whether to send SMS notifications. This function must be enabled in the enterprise configuration. Otherwise, this function does not take effect.

isMailOn

No

BOOL

(Optional) Whether to send email notifications. This function must be enabled in the enterprise configuration. Otherwise, this function does not take effect.

isEmailCalenderOn

No

BOOL

Whether to send an email calendar.

allowGuestStartConf

No

BOOL

Whether to allow guests to join the meeting ahead of the host.

NOTE:

allowGuestStartConfTime

No

NSInteger

Time range allowed for guests to join the meeting in advance, in minutes.

0: Guests can join the meeting at any time before the scheduled time.

x: Guest can join the meeting x minutes before the scheduled time.

NOTE:
  • This parameter is valid only for meetings with a random ID.
  • For meetings with fixed IDs, the time range cannot be set.

isOpenWaitingRoom

No

BOOL

Waiting room status.

NOTE:

The function takes effect only after the waiting room function is enabled.

customInfo

No

NSString *

User-defined information (meeting details and in-meeting chat messages).

concurrentParticipants

No

NSUInteger

Maximum number of participants in the meeting. The default value is 0.

autoMuteMode

No

HWMAutoMuteType

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

hardTerminalAutoMuteMode

No

HWMAutoMuteType

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

Table 2 Enumerated values of HWMOrderConfType

Parameter

Description

OrderConfTypeAudio

Voice meeting.

OrderConfTypeVideo

Video meeting.

Table 3 Enumerated values of HWMJoinConfRestrictionType

Parameter

Value

Description

HWMJoinConfRestrictionAll

0

Everyone.

HWMJoinConfRestrictionCompany

2

Corporate users only.

HWMJoinConfRestrictionInvited

3

Invited users only.

Table 4 HWMAttendeeInfo description

Parameter

Mandatory

Type

Description

number

No

NSString *

Number. (This parameter is optional when thirdUserId is used.)

thirdUserId

No

NSString *

Third-party account in the app ID login scenario.

name

No

NSString *

Member name.

email

No

NSString *

Email address.

sms

No

NSString *

Mobile number.

role

No

ConfRoleType

Participant role.

accountId

No

NSString *

UUID. (The login account is returned in the meeting details.)

userUuid

No

NSString *

This parameter can be obtained from the meeting details when you edit a meeting. By default, this parameter is left blank.

isAnonymous

No

BOOL

Whether to join the meeting anonymously. (This parameter is used only for obtaining the participant list.)

state

No

HWMConfAttendeeState

Participant status. (This parameter is used only for obtaining the participant list.)

orgId

No

NSString *

Used to identify whether the participant belongs to the current enterprise. (This parameter is used only for obtaining the participant list.)

Table 5 Enumerated values of ConfRoleType

Parameter

Description

ConfRoleTypeAttendee

Guest.

ConfRoleTypeChairman

Host.

ConfRoleTypeAudience

Attendee.

ConfRoleTypeCohost

Co-host.

Table 6 Enumerated values of HWMVmrIdType

Parameter

Description

HWMVmrIdTypeFixed

Fixed type.

HWMVmrIdTypeRandom

Random type.

Sample Code

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
/// Schedule a meeting.
- (void)bookConf {
    HWMOrderConfParam * param = [[HWMOrderConfParam alloc] init];
    param.confSubject = @"Meeting topic";
    param.startTime = 1598759580;
    param.duration = 15;
    param.confType = HWMConfTypeVideo;
    param.isNeedConfPwd = YES;
    param.isRecordOn = NO;
    param.timeZone = 56;
    param.vmrId = @"";
    param.callInRestrictionType = HWMCallRestrictionAll;
    [[HWMBizSdk getBizOpenApi] bookConf:param callback:^(NSError *_Nullable error, id _Nullable result) {
        if (error) {
            NSLog(@"Schedule meeting failed.:%@", error.localizedDescription);
        } else {
            NSLog(@"Meeting scheduled.");
        }
    }];
}

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback