ALCSubscriber.h 511 B

1234567891011121314151617181920212223242526
  1. //
  2. // ALCSubscriber.h
  3. // AppLovinSDK
  4. //
  5. // Created by Thomas So on 7/4/19.
  6. //
  7. #import <AppLovinSDK/ALCEntity.h>
  8. @class ALCMessage;
  9. NS_ASSUME_NONNULL_BEGIN
  10. /**
  11. * Protocol that subscribers in the AppLovin pub-sub system should conform to in order to receive messages from subscribed topics.
  12. */
  13. @protocol ALCSubscriber <ALCEntity>
  14. /**
  15. * Called when a message of a topic the subscriber is interested in has been received.
  16. */
  17. - (void)didReceiveMessage:(ALCMessage *)message;
  18. @end
  19. NS_ASSUME_NONNULL_END