ALUserSegment.h 941 B

12345678910111213141516171819202122232425262728
  1. //
  2. // ALUserSegment.h
  3. // AppLovinSDK
  4. //
  5. // Created by Thomas So on 10/30/20.
  6. //
  7. NS_ASSUME_NONNULL_BEGIN
  8. /**
  9. * User segments allow AppLovin to serve ads by using custom-defined rules that are based on which segment the user is in. User segments are custom strings of
  10. * 32 alphanumeric characters or less.
  11. */
  12. @interface ALUserSegment : NSObject
  13. /**
  14. * A custom user segment name with 32 alphanumeric characters or less, as defined in your AppLovin dashboard.
  15. */
  16. @property (nonatomic, copy, nullable) NSString *name __deprecated_msg("This method is deprecated and will be removed in a future SDK version. Please initialize a ALUserSegment instance in ALSdkInitializationConfiguration");
  17. - (instancetype)initWithName:(NSString *)name;
  18. - (instancetype)init __attribute__((unavailable("Please initialize a ALUserSegment instance in ALSdkInitializationConfiguration")));
  19. + (instancetype)new NS_UNAVAILABLE;
  20. @end
  21. NS_ASSUME_NONNULL_END