Skip to content

Class NCZone

Il Kadyrov edited this page Nov 5, 2020 · 1 revision

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)
Clone this wiki locally