Class is used for storing location parameters: identifier, version, name, a list of sublocations, etc. More...
#include <com/navigine/idl/objc/NCLocation.h>
Inherits NSObject.
Instance Methods | |
(nullable NCElevationGraph *) | - getElevationGraph: |
Method returns location elevation graph ElevationGraph for specified tag. | |
(nonnull NSArray< NSString * > *) | - getGraphTags |
Method returns list of available graph tags. | |
(nullable NCSublocation *) | - getSublocationById: |
Method is used for obtaining a sublocation with the specified identifier from the current location. | |
(nullable NCCategory *) | - getCategoryById: |
Method is used for obtaining a category with the specified identifier from the current location. | |
Properties | |
int32_t | id |
location's identifier. | |
int32_t | version |
location's version. | |
NSString * | name |
location name. | |
NSString * | descript |
location's description. | |
NSArray< NCCategory * > * | categories |
List of venue categories defined for the location Category. | |
NSArray< NCSublocation * > * | sublocations |
List of sublocations Sublocation. | |
BOOL | modified |
Flag indicates if location has been modified by user or not. | |
Class is used for storing location parameters: identifier, version, name, a list of sublocations, etc.
Location instance can be obtained from LocationManager using LocationListener callback, when the location is loaded.
Referenced from LocationManager LocationListener.
Definition at line 23 of file NCLocation.h.
- (nullable NCCategory *) getCategoryById: | (int32_t) | id |
Method is used for obtaining a category with the specified identifier from the current location.
id | category identifier. |
- (nullable NCElevationGraph *) getElevationGraph: | (nonnull NSString *) | tag |
Method returns location elevation graph ElevationGraph for specified tag.
tag | Graph tag in CMS |
null
. - (nonnull NSArray< NSString * > *) getGraphTags |
Method returns list of available graph tags.
- (nullable NCSublocation *) getSublocationById: | (int32_t) | id |
Method is used for obtaining a sublocation with the specified identifier from the current location.
id | sublocation identifier. |
|
readnonatomicassign |
List of venue categories defined for the location Category.
Definition at line 77 of file NCLocation.h.
|
readnonatomicassign |
location's description.
Definition at line 72 of file NCLocation.h.
|
readnonatomicassign |
location's identifier.
Definition at line 57 of file NCLocation.h.
|
readnonatomicassign |
Flag indicates if location has been modified by user or not.
Definition at line 87 of file NCLocation.h.
|
readnonatomicassign |
location name.
Definition at line 67 of file NCLocation.h.
|
readnonatomicassign |
List of sublocations Sublocation.
Definition at line 82 of file NCLocation.h.
|
readnonatomicassign |
location's version.
Definition at line 62 of file NCLocation.h.