Set the BODY_CLICK field on an action with a type to allow the end-user to click the body of the notification to dismiss it. This was the default behavior in earlier releases. An event is also sent to the client application.
Note the following restrictions:
This override is ignored if buttons are passed to notification options.
The ActionBodyClickType.DISMISS_EVENT is supported only by ActionTrigger.SELECT/onSelect
Set the
BODY_CLICK
field on an action with a type to allow the end-user to click the body of the notification to dismiss it. This was the default behavior in earlier releases. An event is also sent to the client application.Note the following restrictions:
ActionBodyClickType.DISMISS_EVENT
is supported only byActionTrigger.SELECT/onSelect