MASignalCollectionDelegate.h 572 B

123456789101112131415161718192021222324252627
  1. //
  2. // MASignalCollectionDelegate.h
  3. // AppLovinSDK
  4. //
  5. // Created by Thomas So on 8/27/18.
  6. //
  7. NS_ASSUME_NONNULL_BEGIN
  8. /**
  9. * Protocol for adapters to forward signal collection events to the MAX SDK.
  10. */
  11. @protocol MASignalCollectionDelegate <NSObject>
  12. /**
  13. * This method must be called when signal collection has completed.
  14. */
  15. - (void)didCollectSignal:(nullable NSString *)signal;
  16. /**
  17. * This method should be called when signal collection has failed.
  18. */
  19. - (void)didFailToCollectSignalWithErrorMessage:(nullable NSString *)errorMessage;
  20. @end
  21. NS_ASSUME_NONNULL_END