Notification.setActionSource()

Note: This API is supported from version 7.1.0

The ZohoSalesIQ.Notification.setActionSource() API enables you to specify whether the notification click action should be managed by the App or the Mobilisten SDK.

If the App value is set, all the notification taps of SDK notifications will be invoked in the onClick method of NotificationListener.

Values

  • ZohoSalesIQ.ActionSource.APP
  • ZohoSalesIQ.ActionSource.SDK

Syntax

CopiedZohoSalesIQ.Notification.setActionSource(ZohoSalesIQ.ActionSource)

Example

CopiedZohoSalesIQ.Notification.setActionSource(ZohoSalesIQ.ActionSource.APP);
CopiedZohoSalesIQ.Notification.setActionSource(ZohoSalesIQ.ActionSource.APP)