ISEventsSettings.h 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. //
  2. // ISEventsSettings.h
  3. // IronSource
  4. //
  5. // Created by Yotam Ohayon on 08/01/2016.
  6. // Copyright © 2016 IronSource. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. @interface ISEventsSettings : NSObject
  10. @property (nonatomic, assign, readonly) BOOL sendUltraEvents;
  11. @property (nonatomic, assign, readonly) BOOL sendEventsToggle;
  12. @property (nonatomic, strong, readonly) NSURL *serverEventsURL;
  13. @property (nonatomic, assign, readonly) NSUInteger backupThreshold;
  14. @property (nonatomic, assign, readonly) NSUInteger maxNumberOfEvents;
  15. @property (nonatomic, copy, readonly) NSString *serverEventsType;
  16. @property (nonatomic, strong, readonly) NSArray *optOut;
  17. @property (nonatomic, strong, readonly) NSArray *optIn;
  18. @property (nonatomic, strong, readonly) NSArray *triggerEvents;
  19. @property (nonatomic, strong, readonly) NSArray *nonConnectivityEvents;
  20. @property (nonatomic, assign) NSUInteger maxEventsPerBatch;
  21. - (instancetype)initWithSendUltraEvents:(BOOL)sendEvents
  22. sendEventsToggle:(BOOL)eventsToggle
  23. serverEventsURL:(NSURL *)serverUrl
  24. backupThreshold:(NSUInteger)backupThreshold
  25. maxNumberOfEvents:(NSUInteger)maxNumberOfEvents
  26. serverEventsType:(NSString *)serverEventsType
  27. optOut:(NSArray *)optOut
  28. optIn:(NSArray *)optIn
  29. triggerEvents:(NSArray *)triggerEvents
  30. nonConnectivityEvents:(NSArray *)nonConnectivityEvents
  31. maxEventsPerBatch:(NSUInteger)maxEventsPerBatch;
  32. @end