MBNNBannerComponent.h 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. #import <MapboxNavigationNative/MBNNBannerComponentSubType.h>
  4. @class MBNNShield;
  5. NS_SWIFT_NAME(BannerComponent)
  6. __attribute__((visibility ("default")))
  7. @interface MBNNBannerComponent : NSObject
  8. // This class provides custom init which should be called
  9. - (nonnull instancetype)init NS_UNAVAILABLE;
  10. // This class provides custom init which should be called
  11. + (nonnull instancetype)new NS_UNAVAILABLE;
  12. - (nonnull instancetype)initWithType:(nonnull NSString *)type
  13. text:(nonnull NSString *)text
  14. abbr:(nullable NSString *)abbr
  15. abbrPriority:(nullable NSNumber *)abbrPriority
  16. imageBaseUrl:(nullable NSString *)imageBaseUrl
  17. active:(nullable NSNumber *)active
  18. directions:(nullable NSArray<NSString *> *)directions
  19. activeDirection:(nullable NSString *)activeDirection
  20. imageURL:(nullable NSString *)imageURL
  21. subType:(nullable NSNumber *)subType
  22. shield:(nullable MBNNShield *)shield;
  23. @property (nonatomic, readonly, nonnull, copy) NSString *type;
  24. @property (nonatomic, readonly, nonnull, copy) NSString *text;
  25. @property (nonatomic, readonly, nullable, copy) NSString *abbr;
  26. @property (nonatomic, readonly, nullable) NSNumber *abbrPriority;
  27. @property (nonatomic, readonly, nullable, copy) NSString *imageBaseUrl;
  28. @property (nonatomic, readonly, nullable) NSNumber *active;
  29. @property (nonatomic, readonly, nullable, copy) NSArray<NSString *> *directions;
  30. @property (nonatomic, readonly, nullable, copy) NSString *activeDirection;
  31. /** The full url for a guidance view image */
  32. @property (nonatomic, readonly, nullable, copy) NSString *imageURL;
  33. /** Provides more context about the component guidance view that may help in visual markup and display choices. */
  34. @property (nonatomic, readonly, nullable) NSNumber *subType;
  35. /** Provides shield info for type=icon */
  36. @property (nonatomic, readonly, nullable) MBNNShield *shield;
  37. @end