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

Customizing the Icon for a Specific Scenario

customImageForScene:

API Description

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

Precautions

None

Method Definition

1
- (HWMCustomImageInfo *)customImageForScene:(HWMCustomImageScene)scene;

Parameter Description

Table 1 Enumerated values of HWMCustomImageScene

Enumerated Value

Description

HWMCustomImageSceneCloudRecordIcon

Main icon of cloud recording in a meeting (in the recording pop-up menu and participant list).

HWMCustomImageSceneMainWindowCloudRecordIcon

Small cloud recording icon in the main window.

HWMCustomImageSceneMainWindowCloudRecordLogo

Large cloud recording logo in the main window.

Table 2 HWMCustomImageInfo description

Parameter

Type

Description

image

UIImage *

Custom icon.

width

CGFloat

Icon width.

height

CGFloat

Icon height.

Return Values

None

Sample Code
1
2
3
4
/// Customize an image.
- (HWMCustomImageInfo *)customImageForScene:(HWMCustomImageScene)scene {
    return [[HWMCustomImageInfo alloc] initWithImage:[UIImage new] width:10 height:10];
}