-
Notifications
You must be signed in to change notification settings - Fork 5
Class NCLocationEditManager
NCLocationEditManager class is used for editing location's transmitters, committing changes to the server.
Referenced from: NCNavigineSdk.
- (void)addLocationEditListener:(nullable id<NCLocationEditListener>)locationEditListener
Function is used for adding NCLocationEditListener class element which will notify about editing status and commit status.
-
locationEditListener
— NCLocationEditListener class element.
- (void)removeLocationEditListener:(nullable id<NCLocationEditListener>)locationEditListener;
Function is used for removing previously added NCLocationEditListener class element.
-
locationEditListener
— NCLocationEditListener class element.
- (void)addBeacon:(int32_t)subLocId
uuid:(nonnull NSString *)uuid
major:(int32_t)major
minor:(int32_t)minor
point:(nonnull NCPoint *)point
name:(nonnull NSString *)name
power:(int32_t)power;
Function is used for adding new beacon to the location.
-
subLocId
— id of the sublocation, where beacon should be added. -
uuid
— uuid value of the beacon. -
major
— major value of the beacon. -
minor
— minor value of the beacon. -
point
— position of the beacon on the map. (In metric coordinates) -
name
— name value of the beacon. -
power
— power value of the beacon.
- (void)editBeacon:(int32_t)subLocId
uuid:(nonnull NSString *)uuid
major:(int32_t)major
minor:(int32_t)minor
point:(nonnull NCPoint *)point
name:(nonnull NSString *)name
power:(int32_t)power;
Function is used for editing existing beacon on the sublocation. Major, minor and uuid are used for finding this beacon. User can edit only last three values.
-
subLocId
— id of the sublocation, where beacon should be added. -
uuid
— uuid value of the beacon. -
major
— major value of the beacon. -
minor
— minor value of the beacon. -
point
— position of the beacon on the map. (In metric coordinates) -
name
— name value of the beacon. -
power
— power value of the beacon.
- (void)removeBeacon:(int32_t)subLocId
uuid:(nonnull NSString *)uuid
major:(int32_t)major
minor:(int32_t)minor;
Function is used for removing existing beacon on the location.
-
subLocId
— id of the sublocation, where beacon should be added. -
uuid
— uuid value of the beacon. -
major
— major value of the beacon. -
minor
— minor value of the beacon.
- (void)addEddystone:(int32_t)subLocId
namespaceId:(nonnull NSString *)namespaceId
instanceId:(nonnull NSString *)instanceId
point:(nonnull NCPoint *)point
name:(nonnull NSString *)name
power:(int32_t)power;
Function is used for adding eddystone to the location.
-
subLocId
— id of the sublocation, where eddystone should be added. -
namespaceId
— namespace id value of the eddystone. -
instanceId
— instance id value of the eddystone. -
point
— position of the eddystone on the map. (In metric coordinates) -
name
— name value of the eddystone. -
power
— power value of the eddystone.
- (void)editEddystone:(int32_t)subLocId
namespaceId:(nonnull NSString *)namespaceId
instanceId:(nonnull NSString *)instanceId
point:(nonnull NCPoint *)point
name:(nonnull NSString *)name
power:(int32_t)power;
Function is used for editing existing eddystone on the location. Namespace id and instance id are used for finding this eddystone. User can edit only last three values.
-
subLocId
— id of the sublocation, where eddystone should be added. -
namespaceId
— namespace id value of the eddystone. -
instanceId
— instance id value of the eddystone. -
point
— position of the eddystone on the map. (In metric coordinates) -
name
— name value of the eddystone. -
power
— power value of the eddystone.
- (void)removeEddystone:(int32_t)subLocId
namespaceId:(nonnull NSString *)namespaceId
instanceId:(nonnull NSString *)instanceId;
Function is used for removing existing eddystone on the location.
-
subLocId
— id of the sublocation, where eddystone should be added. -
namespaceId
— namespace id value of the eddystone. -
instanceId
— instance id value of the eddystone.
- (void)addWifi:(int32_t)subLocId
mac:(nonnull NSString *)mac
point:(nonnull NCPoint *)point
name:(nonnull NSString *)name;
Function is used for adding wifi to the location.
-
subLocId
— id of the sublocation, where wifi should be added. -
mac
— mac address of the wifi. (Without:
, i.e. 001122334455) -
point
— position of the wifi on the map. (In metric coordinates) -
name
— name value of the wifi.
- (void)editWifi:(int32_t)subLocId
mac:(nonnull NSString *)mac
point:(nonnull NCPoint *)point
name:(nonnull NSString *)name;
Function is used for editing existing wifi on the location. MAC address is used for finding this wifi. User can edit only last two values.
-
subLocId
— id of the sublocation, where wifi should be added. -
mac
— mac address of the wifi. (Without:
, i.e. 001122334455) -
point
— position of the wifi on the map. (In metric coordinates) -
name
— name value of the wifi.
- (void)removeWifi:(int32_t)subLocId
mac:(nonnull NSString *)mac;
Function is used for removing existing wifi on the location.
-
subLocId
— id of the sublocation, where wifi should be added. -
mac
— mac address of the wifi. (Without:
, i.e. 001122334455)
- (void)commitChanges;
Function is used for applying current transmitters changes and uploading them to the server.
Tutorials
Classes
- NCNavigineSdk
- NCLocationListManager
- NCLocationManager
- NCNavigationManager
- NCRouteManager
- NCZoneManager
- NCNotificationManager
- NCMeasurementManager
- NCLocationEditManager
- NCResourceManager
- NCLocation
- NCSublocation
- NCCategory
- NCVenue
- NCZone
- NCBeacon
- NCEddystone
- NCWifi
- NCLocationView
- NCGestureRecognizerDelegate
- NCCircleMapObject
- NCLineMapObject
- NCLocationListListener
- NCLocationListener
- NCPositionListener
- NCRouteListener
- NCZoneListener
- NCNotificationListener
- NCLocationEditListener
- NCMeasurementListener
- NCResourceListener
- NCResourceUploadListener
- NCNotification
- NCPosition
- NCSignalMeasurement
- NCSensorMeasurement
- NCImage
- NCRoutePath
- NCRouteEvent
- NCLocationPoint
- NCLocationInfo
- NCBitmapRegionDecoder