Directories | |
dart | |
java | |
kotlin | |
objc | |
swift | |
This directory contains comprehensive examples demonstrating the usage of the LocationManager module across different programming languages. The LocationManager is responsible for downloading and working with locations, including sublocations, categories, venues, zones, beacons, WiFi access points, and navigation graphs.
The LocationManager module provides functionality to:
java/LocationManagerExample.java
kotlin/LocationManagerExample.kt
objc/LocationManagerExample.m
swift/LocationManagerExample.swift
dart/location_manager_example.dart
addLocationListener(listener)
- Add location listener for notificationsremoveLocationListener(listener)
- Remove location listenersetLocationId(locationId)
- Set location ID to loadgetLocationId()
- Get current location IDsetLocationUpdateInterval(interval)
- Set update interval in secondscommitChanges()
- Commit pending changesrevertChanges()
- Revert pending changesgetId()
- Get location identifiergetVersion()
- Get location versiongetName()
- Get location namegetDescript()
- Get location descriptiongetModified()
- Check if location is modifiedgetGraphTags()
- Get available graph tagsgetElevationGraph(tag)
- Get elevation graph by taggetCategories()
- Get all categoriesgetCategoryById(id)
- Get category by IDgetSublocations()
- Get all sublocationsgetSublocationById(id)
- Get sublocation by IDgetId()
- Get category identifiergetName()
- Get category namegetId()
- Get sublocation identifiergetName()
- Get sublocation namegetDescript()
- Get sublocation descriptiongetCategoryId()
- Get category IDgetVenues()
- Get venues listgetZones()
- Get zones listgetBeacons()
- Get beacons listgetWifis()
- Get WiFi access points listgetEddystones()
- Get Eddystone beacons listgetGraph()
- Get navigation graphgetId()
- Get venue identifiergetName()
- Get venue namegetDescript()
- Get venue descriptiongetCategoryId()
- Get category IDgetPoint()
- Get venue coordinatesgetId()
- Get zone identifiergetName()
- Get zone namegetDescript()
- Get zone descriptiongetCategoryId()
- Get category IDgetPolygon()
- Get zone polygon pointsgetId()
- Get beacon identifiergetName()
- Get beacon namegetDescript()
- Get beacon descriptiongetUuid()
- Get beacon UUIDgetMajor()
- Get beacon major valuegetMinor()
- Get beacon minor valuegetPower()
- Get beacon powergetPoint()
- Get beacon coordinatesgetStatus()
- Get beacon statusgetId()
- Get WiFi identifiergetName()
- Get WiFi namegetDescript()
- Get WiFi descriptiongetBssid()
- Get WiFi BSSIDgetSsid()
- Get WiFi SSIDgetPoint()
- Get WiFi coordinatesgetStatus()
- Get WiFi statusgetId()
- Get Eddystone identifiergetName()
- Get Eddystone namegetDescript()
- Get Eddystone descriptiongetNamespace()
- Get Eddystone namespacegetInstance()
- Get Eddystone instancegetUrl()
- Get Eddystone URLgetPoint()
- Get Eddystone coordinatesgetStatus()
- Get Eddystone statusgetX()
- Get X coordinategetY()
- Get Y coordinategetVertices()
- Get graph verticesgetEdges()
- Get graph edgesgetId()
- Get vertex identifiergetPoint()
- Get vertex coordinatesgetId()
- Get edge identifiergetSourceId()
- Get source vertex IDgetTargetId()
- Get target vertex IDgetWeight()
- Get edge weightgetTag()
- Get elevation graph taggetGraph()
- Get elevation graphEnumeration with values:
Active
- Transmitter is activeInactive
- Transmitter is inactiveEach example demonstrates:
https://custom.navigine.com
as the server URLUSER-HASH-HERE
with your actual user hash12345
with a valid location ID from your CMS