MoEngageCardsViewControllerDelegate
@available(tvOS, unavailable)
@objc
public protocol MoEngageCardsViewControllerDelegate
An interface for receiving callback on performing UI actions on MoEngageCardsListViewController.
-
Callback received when
MoEngageCardsListViewControlleris dismissed from presentedDeclaration
Swift
@objc optional func cardsViewControllerDismissed( forAccountMeta accountMeta: MoEngageAccountMeta )Parameters
accountMetaMoEngageAccountMetainstance that provides the appId. -
Callback received when card is deleted from
MoEngageCardsListViewControllerDeclaration
Swift
@objc optional func cardDeleted( withCardInfo card: MoEngageCardCampaign, forAccountMeta accountMeta: MoEngageAccountMeta )Parameters
cardcard that was deleted.
accountMetaMoEngageAccountMetainstance that provides the appId. -
Callback received when card is clicked on
MoEngageCardsListViewControllerDeclaration
Swift
@objc optional func cardClicked( withCardInfo card: MoEngageCardCampaign, andAction action: MoEngageCardAction, forAccountMeta accountMeta: MoEngageAccountMeta ) -> BoolParameters
cardcard that was clicked.
actionaction associated with the card
accountMetaMoEngageAccountMetainstance that provides the appId.Return Value
Bool value