Help Center/ Meeting/ Client SDK Reference/ iOS SDK/ API Reference/ UI Customization/ Customizing the Text for a Specific Scenario
Updated on 2024-12-27 GMT+08:00

Customizing the Text for a Specific Scenario

customLanguageInfosForScene:

API Description

This API is used to customize the text for a specific scenario.

Precautions

None

Method Definition

1
- (NSArray<HWMUILanguageInfo *> *)customLanguageInfosForScene:(HWMCustomUITextScene)scene;

Parameter Description

Table 1 Enumerated values of HWMCustomUITextScene

Enumerated Value

Description

HWMCustomUITextSceneCloudRecordFinishedAlert

Text in the dialog box displayed when cloud recording ends.

HWMCustomUITextSceneCloudRecordFinishedInMeetingAlert

Text in the dialog box displayed when cloud recording ends in an ongoing meeting.

HWMCustomUITextSceneLeaveOrEndConfPopupWindow

Title of the dialog box for leaving or ending a meeting.

HWMCustomUITextSceneCloudRecordMenuTitle

Cloud recording title in the recording pop-up menu.

HWMCustomUITextSceneMainWindowCloudRecordDes

Cloud recording description in the main window.

Table 2 HWMUILanguageInfo description

Parameter

Type

Description

languageCode

NSString *

Language code.

customContent

NSString *

Custom content.

Return Values

None

Sample Code
1
2
3
4
5
6
/// Customize the text for a scenario.
- (NSArray<HWMUILanguageInfo *> *)customLanguageInfosForScene:(HWMCustomUITextScene)scene {
    HWMUILanguageInfo *cn = [HWMUILanguageInfo infoWithCode:@"cn" content:@"Custom"];
    HWMUILanguageInfo *en = [HWMUILanguageInfo infoWithCode:@"en" content:@"Custom"];
    return @[cn, en];
}