Help Center/ Meeting/ Client SDK Reference/ iOS SDK/ API Reference/ UI Customization/ Customizing the Buttons for Answering a Video Meeting Call
Updated on 2023-03-23 GMT+08:00

Customizing the Buttons for Answering a Video Meeting Call

getVideoConfIncomingAnswerBtnShowType

API Description

This API is used to customize the buttons for answering a video meeting call. By default, a video meeting call can be answered in video or voice mode. You can use this API to configure the menu to display only one answering mode.

Figure 1 Customizing the buttons for answering a video meeting call

Precautions

  1. An RTC meeting cannot be answered in voice mode.

Method Definition

1
- (HWMAnswerBtnShowType)getVideoConfIncomingAnswerBtnShowType;

Parameter Description

Table 1 HWMOrderConfType parameters

Parameter

Description

HWMAnswerBtnShowTypeAll

All answering buttons are displayed.

HWMAnswerBtnShowTypeOnlyAudio

Only the button for answering in voice mode is displayed.

HWMAnswerBtnShowTypeOnlyVideo

Only the button for answering in video mode is displayed.

Sample Code

1
2
3
4
/// Customize the buttons displayed for answering a video meeting call.
- (HWMAnswerBtnShowType)getVideoConfIncomingAnswerBtnShowType {
    return HWMAnswerBtnShowTypeAll;
}