Notification.setActionSource()
Note: This API is supported from version 8.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 ACTION_SOURCE.APP value is set, and the taps of SDK notifications will be invoked in the EVENT_NOTIFICATION_CLICKED listeners.
Values
- ZohoSalesIQ.ActionSource.APP
- ZohoSalesIQ.ActionSource.SDK
Syntax
CopiedZohoSalesIQ.Notification.setActionSource(actionSource: string)
Example
CopiedZohoSalesIQ.Notification.setActionSource(ZohoSalesIQ.ActionSource.APP);