Interface AlertEventListener
-
- All Implemented Interfaces:
-
com.adobe.marketing.mobile.services.ui.PresentationEventListener
public interface AlertEventListener implements PresentationEventListener<Alert>
Interface for listening to events related to an Alert presentation.
-
-
Method Summary
Modifier and Type Method Description abstract UnitonPositiveResponse(Presentable<Alert> alert)Called when positive button on the alert is clicked. abstract UnitonNegativeResponse(Presentable<Alert> alert)Called when negative button on the alert is clicked. -
-
Method Detail
-
onPositiveResponse
abstract Unit onPositiveResponse(Presentable<Alert> alert)
Called when positive button on the alert is clicked.
- Parameters:
alert- the alert that was clicked
-
onNegativeResponse
abstract Unit onNegativeResponse(Presentable<Alert> alert)
Called when negative button on the alert is clicked.
- Parameters:
alert- the alert that was clicked
-
-
-
-