Help Center/ Meeting/ Client SDK Reference/ Android SDK/ API Reference/ UI Customization/ Customizing a Notification Bar in a Meeting
Updated on 2024-07-30 GMT+08:00

Customizing a Notification Bar in a Meeting

This API is used to customize the meeting notification icon in the notification bar. Figure 1 shows the default icon.

Application Scenarios

The notification icon in the notification bar needs to be the same as the app icon.

Precautions

1. sdkConfig takes effect only when this configuration is passed during SDK initialization.

Figure 1 Sample of a custom notification bar in meetings

Sample Code

1
2
3
4
5
6
sdkConfig.setNotificationStrategy(new INotificationStrategy() {
               @Override
               public int resSmallIcon() {
                    return R.mipmap.ic_launcher;
               }
           });