-
Notifications
You must be signed in to change notification settings - Fork 19
Class Location
Location class is used for storing location parameters: identifier, version, name, a list of sublocations, etc. Location instance can be obtained from LocationManager using LocationListeners' callback, when the location is loaded.
Referenced from: LocationManager.
public int getId()Function returns the location's identifier.
public int getVersion()Function returns the location's version.
public String getName()Function returns the location's name.
public String getDescript()Function returns the location's description.
public ArrayList<Sublocation> getSubLocations()Function returns the list of sublocations (see Sublocation class).
public ArrayList<Category> getCategories()Function returns the list of venue categories defined for the location (see Category class).
public Sublocation getSublocationById(int id)Function is used for obtaining a sublocation with the specified identifier from the current location.
-
id— the category identifier.
The Sublocation of the current location with the specified
identifier, if it exists. If sublocation with the specified identifier doesn't
exist, function returns null.
public Category getCategoryById(int id)Function is used for obtaining a category with the specified identifier from the current location.
-
id— the category identifier.
The Category of the current location with the specified
identifier, if it exists. If category with the specified identifier doesn't
exist, function returns null.
Tutorials
Classes
- NavigineSdk
- LocationListManager
- LocationManager
- NavigationManager
- RouteManager
- ZoneManager
- NotificationManager
- MeasurementManager
- LocationEditManager
- ResourceManager
- Location
- Sublocation
- Category
- Venue
- Zone
- Beacon
- Eddystone
- Wifi
- LocationView
- LocationViewController
- CircleMapObject
- PolylineMapObject
- IconMapObject
- TouchInput
- ScaleResponder
- PanResponder
- LongPressResponder
- DoubleTapResponder
- TapResponder
- LocationListListener
- LocationListener
- PositionListener
- RouteListener
- ZoneListener
- NotificationListener
- LocationEditListener
- MeasurementListener
- ResourceListener
- ResourceUploadListener
- Notification
- Position
- SignalMeasurement
- SensorMeasurement
- Image
- RoutePath
- RouteEvent
- LocationPoint
- LocationInfo
- BitmapRegionDecoder