NotificationActionHandler Interface

Implement this interface to execute an action on a custom notification.

Messaging

The following are methods for NotificationActionHandler.

Executes the actionable notification.

public Messaging.ActionResult executeAction(Messaging.ActionableNotification actionableNotification)

Type: Messaging.ActionResult

This is an example implementation of the Messaging.NotificationActionHandler interface.

The following example tests the implementation: