-
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 abstract int getId();Function returns location's identifier.
public abstract int getVersion();Function returns location's version.
public abstract String getName();Function returns location's name.
public abstract String getDescript();Function returns location's description.
public abstract ArrayList<Sublocation> getSublocations();Function returns list of sublocations (see Sublocation class).
public abstract ArrayList<Category> getCategories();Function returns 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 sublocation 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