MBNNAmenity.h 912 B

123456789101112131415161718192021222324252627282930
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. #import <MapboxNavigationNative/MBNNAmenityType.h>
  4. NS_SWIFT_NAME(Amenity)
  5. __attribute__((visibility ("default")))
  6. @interface MBNNAmenity : NSObject
  7. // This class provides custom init which should be called
  8. - (nonnull instancetype)init NS_UNAVAILABLE;
  9. // This class provides custom init which should be called
  10. + (nonnull instancetype)new NS_UNAVAILABLE;
  11. - (nonnull instancetype)initWithType:(MBNNAmenityType)type
  12. name:(nullable NSString *)name
  13. brand:(nullable NSString *)brand;
  14. /** type of amenity */
  15. @property (nonatomic, readonly) MBNNAmenityType type;
  16. /** name of amenity */
  17. @property (nonatomic, readonly, nullable, copy) NSString *name;
  18. /** brand name of amenity */
  19. @property (nonatomic, readonly, nullable, copy) NSString *brand;
  20. @end