ISConfigurations.h 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. //
  2. // Copyright © 2017 IronSource. All rights reserved.
  3. //
  4. #ifndef IRONSOURCE_CONFIGURATION_H
  5. #define IRONSOURCE_CONFIGURATION_H
  6. #import <Foundation/Foundation.h>
  7. #import "ISGender.h"
  8. #import "ISSegment.h"
  9. @interface ISConfigurations : NSObject
  10. @property (nonatomic, strong) NSString *userId;
  11. @property (nonatomic, strong) NSString *appKey;
  12. @property (nonatomic, strong) NSString *mediationSegment;
  13. @property (nonatomic, strong) NSString *segmentId;
  14. @property (nonatomic, strong) NSDictionary *customSegmentParams;
  15. @property (nonatomic, strong) ISSegment *segment;
  16. @property (nonatomic, strong) NSDictionary *rewardedVideoCustomParameters;
  17. @property (nonatomic, strong) NSDictionary *offerwallCustomParameters;
  18. @property (nonatomic, strong) NSString *version;
  19. @property (nonatomic, strong) NSNumber *adapterTimeOutInSeconds;
  20. @property (nonatomic, strong) NSNumber *maxNumOfAdaptersToLoadOnStart;
  21. @property (nonatomic, assign) BOOL advancedLoading;
  22. @property (nonatomic, strong) NSString *plugin;
  23. @property (nonatomic, strong) NSString *pluginVersion;
  24. @property (nonatomic, strong) NSString *pluginFrameworkVersion;
  25. @property (nonatomic, strong) NSNumber *maxVideosPerIteration;
  26. @property (nonatomic, assign) NSInteger userAge;
  27. @property (nonatomic, assign) ISGender userGender;
  28. @property (nonatomic, assign) BOOL trackReachability;
  29. @property (nonatomic, strong) NSString *dynamicUserId;
  30. @property (nonatomic, assign) BOOL adaptersDebug;
  31. @property (nonatomic, strong) NSString *mediationType;
  32. @property (nonatomic, strong) NSNumber *serr;
  33. @property (nonatomic, strong) NSString *categorizeType;
  34. @property (nonatomic, strong) NSDictionary *rvServerParams;
  35. @property (nonatomic, assign) NSInteger consent;
  36. @property (nonatomic, assign) BOOL didSetConsent;
  37. @property (nonatomic, strong) NSDictionary *batchGenricParams;
  38. @property (nonatomic, strong) NSDictionary *eventGenricParams;
  39. /*!
  40. @deprecated This method has been deprecated and will be removed in a future version
  41. */
  42. + (ISConfigurations *)configurations DEPRECATED_MSG_ATTRIBUTE("As of version 6.5.2, use class method: getConfigurations");
  43. + (ISConfigurations *)getConfigurations;
  44. typedef NS_ENUM(NSInteger, DebugLevel) {
  45. None,
  46. Error,
  47. Info,
  48. Verbose
  49. };
  50. @end
  51. #endif