add tracking to alert protocol

This commit is contained in:
Pfeil, Scott Robert 2018-10-30 17:02:35 -04:00
parent 71523fe676
commit 3504a12e61

View File

@ -8,11 +8,15 @@
// Called for popup style alerts. // Called for popup style alerts.
#import <Foundation/Foundation.h> #import <Foundation/Foundation.h>
@class MVMCoreAlertObject;
@protocol MVMCoreAlertDelegateProtocol @protocol MVMCoreAlertDelegateProtocol
@optional @optional
// helps tracking alert state
- (nullable NSDictionary *)additionalAlertDataToTrackForAlertWithObject:(nullable MVMCoreAlertObject *)alertObject;
// All are performed on the main thread. // All are performed on the main thread.
- (void)alertShown:(nonnull UIAlertController *)alertController; - (void)alertShown:(nonnull UIAlertController *)alertController;
- (void)alertCancelled:(nonnull UIAlertController *)alertController; - (void)alertCancelled:(nonnull UIAlertController *)alertController;