Class NCZone - Navigine/Indoor-Navigation-iOS-Mobile-SDK-2.0 GitHub Wiki

NCZone class is used for storing location polygonal zones.

Referenced from: NCSublocation.

@interface NCZone : NSObject

@property (nonatomic, nonnull, readonly) NCPolygon * polygon;

@property (nonatomic, readonly) int32_t locationId;

@property (nonatomic, readonly) int32_t sublocationId;

@property (nonatomic, readonly) int32_t id;

@property (nonatomic, nonnull, readonly) NSString * name;

@property (nonatomic, nonnull, readonly) NSString * color;

@property (nonatomic, nonnull, readonly) NSString * alias;

@end

Public fields

  • id - zone identifier
  • locationId - location id where zone placed
  • sublocationId - sublocation id where zone placed
  • name - zone name
  • alias - zone's alias name (external identifier)
  • color - zone's color
  • polygon - list of points composing the polygonal zone (see NCPolygon class)