public interface IContentCardsActionListener
IContentCardsActionListener
receives the ContentCard when a user action such as
clicking or dismissal is performed and gives the host app the ability to override
Braze's default procedure for the user action.Modifier and Type | Method and Description |
---|---|
boolean |
onContentCardClicked(android.content.Context context,
Card card,
IAction cardAction) |
void |
onContentCardDismissed(android.content.Context context,
Card card)
Note that the
Card will be off-screen by the time this function is called. |
boolean onContentCardClicked(android.content.Context context, Card card, IAction cardAction)
context
- The context.card
- The card that has been clicked.cardAction
- The action associated with the card being clicked