Skip to product menu
Skip to main content

Set notification icon for Android 

This API is used to set the icon for the Android Mobilisten notifications.


Parameter:

  • resourceName - Add name of the icon in the drawable folder inside android, without extension.

Steps:

  1. Add the icon to the drawable folder of your project's resources (res/drawable).
  2. For example: If "ic_bell.xml" is the icon present in the drawable folder. Then use an API like ZohoSalesIQ.Notification.setIconForAndroid("ic_bell");.

Syntax

CopiedZohoSalesIQ.Notification.setIconForAndroid(String resourceName);

Example

CopiedZohoSalesIQ.Notification.setIconForAndroid("ic_bell");