MBNNServiceAreaInfo.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. #import <MapboxNavigationNative/MBNNServiceAreaType.h>
  4. @class MBNNAmenity;
  5. NS_SWIFT_NAME(ServiceAreaInfo)
  6. __attribute__((visibility ("default")))
  7. @interface MBNNServiceAreaInfo : 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:(MBNNServiceAreaType)type
  13. name:(nullable NSString *)name
  14. amenities:(nonnull NSArray<MBNNAmenity *> *)amenities
  15. guideMapUri:(nullable NSString *)guideMapUri;
  16. /** type of service area */
  17. @property (nonatomic, readonly) MBNNServiceAreaType type;
  18. /** name of the service area */
  19. @property (nonatomic, readonly, nullable, copy) NSString *name;
  20. /** array of amenities */
  21. @property (nonatomic, readonly, nonnull, copy) NSArray<MBNNAmenity *> *amenities;
  22. /** URI to guide map image. To use it you must add an access token */
  23. @property (nonatomic, readonly, nullable, copy) NSString *guideMapUri;
  24. @end