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

Inviting a Participant

addAttendee

API Description

This API is used to add a participant to a meeting.

Precautions

  1. Only the host in the meeting can add participants.

Method Definition

1
- (void)addAttendee:(NSArray<HWMAttendeeInfo *> *) attendee callback:(_Nonnull HWMSDKCompleteHandler)callback;

Parameter Description

attendee contains the information about the members to join the meeting. For details, see HWMAttendeeInfo.

Sample Code

1
2
3
4
5
6
/// Add a participant to a meeting.
[[HWMBizSdk getBizOpenApi] addAttendee:arr callback:^(NSError * _Nullable error, id  _Nullable result) {
            if (!error) {
                NSLog(@"success");
            } 
}];