GEPresetProperties.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. //
  2. // GEPresetProperties.h
  3. // GravityEngineSDK
  4. //
  5. // Copyright © 2021 gravityengine. All rights reserved.
  6. //
  7. #import <Foundation/Foundation.h>
  8. NS_ASSUME_NONNULL_BEGIN
  9. @interface GEPresetProperties : NSObject
  10. @property (nonatomic, copy, readonly) NSString *bundle_id;
  11. @property (nonatomic, copy, readonly) NSString *carrier;
  12. @property (nonatomic, copy, readonly) NSString *device_id;
  13. @property (nonatomic, copy, readonly) NSString *device_model;
  14. @property (nonatomic, copy, readonly) NSString *manufacturer;
  15. @property (nonatomic, copy, readonly) NSString *network_type;
  16. @property (nonatomic, copy, readonly) NSString *os;
  17. @property (nonatomic, copy, readonly) NSString *os_version;
  18. @property (nonatomic, copy, readonly) NSNumber *screen_height;
  19. @property (nonatomic, copy, readonly) NSNumber *screen_width;
  20. @property (nonatomic, copy, readonly) NSString *system_language;
  21. @property (nonatomic, copy, readonly) NSNumber *zone_offset;
  22. @property (nonatomic, copy, readonly) NSString *install_time;
  23. /**
  24. * The key of the returned event preset property starts with "#", and it is not recommended to use it directly as the property of the event
  25. */
  26. - (NSDictionary *)toEventPresetProperties;
  27. @end
  28. NS_ASSUME_NONNULL_END