onPendingIntent

public PendingIntent onPendingIntent(PendingIntent pendingIntent, Intent intent)

Callback when setting the local notification PendingIntent. The app layer can modify the PendingIntent settings to customize notification click behavior. By default, clicking the notification navigates to the corresponding conversation page.

Return

the PendingIntent to use for the local notification.

Parameters

pendingIntent

the SDK default PendingIntent

intent

the intent carried by the PendingIntent. Available extras: intent.getStringExtra(RouteUtils.CHANNEL_TYPE); intent.getStringExtra(RouteUtils.TARGET_ID); intent.getParcelableExtra(RouteUtils.MESSAGE);