Adding Participants
addAttendee
API Description
This API is used to add a participant to a meeting.
Precautions
- Only the host can invite participants.
Method Definition
1
|
- (void)addAttendee:(NSArray<HWMContactSelectedModel *> *)params completeHandler:(HWMSDKCompleteHandler)handler; |
Parameter Description
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
name |
Yes |
NSString * |
Participant name. |
number |
Yes |
NSString * |
Number. If this parameter is set to the SIP number (for example, +99111244216210249) allocated to the account, the Huawei Cloud Meeting app is called. If this parameter is set to a PSTN number (for example, 18700000000), the number is called through the VoIP gateway if the enterprise has enabled PSTN call. This parameter is used for account and password authentication. Either this parameter or thirdUserId must be set. |
thirdUserId |
Yes |
NSString * |
Third-party user ID. This parameter is used for app ID authentication. Either this parameter or number must be set. |
Sample Code
1 2 3 4 |
/// Add participants during the meeting. [[HWMSdk getOpenApi] addAttendee:attendee completeHandler:^(NSError * _Nullable error, id _Nullable result) { [UIUtil showMessage:@"Invitation succeeded." error:error]; }]; |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot