Loading...
Searching...
No Matches
com.navigine.idl.java.internal.NavigineSdkBinding Class Reference
+ Inheritance diagram for com.navigine.idl.java.internal.NavigineSdkBinding:

Public Member Functions

native boolean isValid ()
 
void setUserHash (String userHash)
 Method is used to set USER_HASH from the user's profile in CMS.
 
void setServer (String server)
 Method is used to set server url.
 
void reset ()
 Resets SDK to the initial connection state: default production server URL, empty user hash, and a new session propagated to managers (same effect on session-aware managers as changing server or user hash). Call from the UI thread.
 
LocationManager getLocationManager ()
 LocationManager instance, which could be used for working with the Location.
 
NavigationManager getNavigationManager (LocationManager locationManager)
 NavigationManager instance, which could be used for working with the com.navigine.idl.java.Position.
 
ZoneManager getZoneManager (NavigationManager navigationManager)
 ZoneManager instance, which could be used for working with zones and detecting enter and leave events. Zone
 
AsyncRouteManager getAsyncRouteManager (LocationManager locationManager, NavigationManager navigationManager)
 AsyncRouteManager instance, which could be used for working with routing sessions. RouteSession
 
NotificationManager getNotificationManager (LocationManager locationManager)
 NotificationManager instance, which could be used for working with notifications when detecting beacons. Notification
 
String getErrorDescription (int errorCode)
 
LocationWindow createLocationWindow (com.navigine.view.PlatformView platformView)
 
StorageManager getStorageManager ()
 
UserLocationLayer getUserLocationLayer (LocationWindow locationWindow)
 
RouteManager getRouteManager (LocationManager locationManager, NavigationManager navigationManager)
 RouteManager instance, which could be used for working making routes, setting target points. RoutePath
 
MeasurementManager getMeasurementManager (LocationManager locationManager)
 MeasurementManager instance, which could be used for managing measurement generators and handling sensor and signal measurements.
 
ResourceManager getResourceManager (LocationManager locationManager)
 
LocationEditManager getLocationEditManager (LocationManager locationManager)
 
BeaconProximityEstimator getBeaconProximityEstimator (LocationManager locationManager)
 
MqttSession getMqttSession (NavigationManager navigationManager)
 MqttSession instance, which could be used for working with MQTT sessions.
 
LocationListManager getLocationListManager ()
 

Static Public Member Functions

static native NavigineSdk getInstance ()
 Method initializes Navigation library and returns NavigineSdk instance.
 
static native String getVersion ()
 Method returns NavigineSdk SDK Version.
 
static native String getDeviceId ()
 Method returns persistent device id.
 
static native String getUserAgent ()
 Method returns current User-Agent string.
 
static native long getRelativeTime ()
 Method returns current timestamp.
 

Detailed Description

Definition at line 25 of file NavigineSdkBinding.java.

Member Function Documentation

◆ createLocationWindow()

LocationWindow com.navigine.idl.java.internal.NavigineSdkBinding.createLocationWindow ( com.navigine.view.PlatformView platformView)
inline

Definition at line 103 of file NavigineSdkBinding.java.

◆ getAsyncRouteManager()

AsyncRouteManager com.navigine.idl.java.internal.NavigineSdkBinding.getAsyncRouteManager ( LocationManager locationManager,
NavigationManager navigationManager )
inline

AsyncRouteManager instance, which could be used for working with routing sessions. RouteSession

Parameters
locationManagerLocationManager instance
navigationManagerNavigationManager instance
Returns
AsyncRouteManager instance

Java code snippet:

// Get AsyncRouteManager for async route operations
if (locationManager != null && navigationManager != null) {
asyncRouteManager = sdk.getAsyncRouteManager(locationManager, navigationManager);
if (asyncRouteManager != null) {
System.out.println("AsyncRouteManager successfully initialized");
}
}

Kotlin code snippet:

// Get AsyncRouteManager for async route operations
locationManager?.let { locationManager ->
navigationManager?.let { navigationManager ->
asyncRouteManager = sdkInstance.getAsyncRouteManager(locationManager, navigationManager)
asyncRouteManager?.let {
println("AsyncRouteManager successfully initialized")
}
}
}

Reimplemented from com.navigine.idl.java.NavigineSdk.

Definition at line 82 of file NavigineSdkBinding.java.

◆ getBeaconProximityEstimator()

BeaconProximityEstimator com.navigine.idl.java.internal.NavigineSdkBinding.getBeaconProximityEstimator ( LocationManager locationManager)
inline

Definition at line 152 of file NavigineSdkBinding.java.

◆ getDeviceId()

static native String com.navigine.idl.java.internal.NavigineSdkBinding.getDeviceId ( )
static

Method returns persistent device id.

Returns
persistent device id

Java code snippet:

// Get device ID
System.out.println("Device ID: " + NavigineSdk.getDeviceId());

Kotlin code snippet:

// Get device ID
println("Device ID: ${NavigineSdk.getDeviceId()}")

Reimplemented from com.navigine.idl.java.NavigineSdk.

◆ getErrorDescription()

String com.navigine.idl.java.internal.NavigineSdkBinding.getErrorDescription ( int errorCode)
inline

Definition at line 96 of file NavigineSdkBinding.java.

◆ getInstance()

static native NavigineSdk com.navigine.idl.java.internal.NavigineSdkBinding.getInstance ( )
static

Method initializes Navigation library and returns NavigineSdk instance.

Returns
instance of SDK

Java code snippet:

// Get SDK instance
sdk = NavigineSdk.getInstance();

Kotlin code snippet:

// Get SDK instance
sdk = NavigineSdk.getInstance()

Reimplemented from com.navigine.idl.java.NavigineSdk.

◆ getLocationEditManager()

LocationEditManager com.navigine.idl.java.internal.NavigineSdkBinding.getLocationEditManager ( LocationManager locationManager)
inline

Definition at line 145 of file NavigineSdkBinding.java.

◆ getLocationListManager()

LocationListManager com.navigine.idl.java.internal.NavigineSdkBinding.getLocationListManager ( )
inline

Returns a manager that allows to manage locations list

Returns
Location list manager instance LocationListManager

Java code snippet:

// Get LocationListManager for location list operations
locationListManager = sdk.getLocationListManager();
if (locationListManager != null) {
System.out.println("LocationListManager successfully initialized");
}

Kotlin code snippet:

// Get LocationListManager for location list operations
locationListManager = sdkInstance.locationListManager
locationListManager?.let {
println("LocationListManager successfully initialized")
}

Reimplemented from com.navigine.idl.java.NavigineSdk.

Definition at line 166 of file NavigineSdkBinding.java.

◆ getLocationManager()

LocationManager com.navigine.idl.java.internal.NavigineSdkBinding.getLocationManager ( )
inline

LocationManager instance, which could be used for working with the Location.

Returns
LocationManager instance

Java code snippet:

// Get LocationManager for working with locations
locationManager = sdk.getLocationManager();
if (locationManager != null) {
System.out.println("LocationManager successfully initialized");
}

Kotlin code snippet:

// Get LocationManager for working with locations
locationManager = sdkInstance.locationManager
locationManager?.let {
println("LocationManager successfully initialized")
}

Reimplemented from com.navigine.idl.java.NavigineSdk.

Definition at line 61 of file NavigineSdkBinding.java.

◆ getMeasurementManager()

MeasurementManager com.navigine.idl.java.internal.NavigineSdkBinding.getMeasurementManager ( LocationManager locationManager)
inline

MeasurementManager instance, which could be used for managing measurement generators and handling sensor and signal measurements.

Parameters
locationManagerLocationManager instance
Returns
MeasurementManager instance

Java code snippet:

// Get MeasurementManager for measurements
if (locationManager != null) {
measurementManager = sdk.getMeasurementManager(locationManager);
if (measurementManager != null) {
System.out.println("MeasurementManager successfully initialized");
}
}

Kotlin code snippet:

// Get MeasurementManager for measurements
locationManager?.let { locationManager ->
measurementManager = sdkInstance.getMeasurementManager(locationManager)
measurementManager?.let {
println("MeasurementManager successfully initialized")
}
}

Reimplemented from com.navigine.idl.java.NavigineSdk.

Definition at line 131 of file NavigineSdkBinding.java.

◆ getMqttSession()

MqttSession com.navigine.idl.java.internal.NavigineSdkBinding.getMqttSession ( NavigationManager navigationManager)
inline

MqttSession instance, which could be used for working with MQTT sessions.

Parameters
navigationManagerNavigationManager instance
Returns
MqttSession instance

Java code snippet:

// Get MqttSession for publishing position data via MQTT
if (navigationManager != null) {
mqttSession = sdk.getMqttSession(navigationManager);
if (mqttSession != null) {
System.out.println("MqttSession successfully initialized");
}
}

Kotlin code snippet:

// Get MqttSession for publishing position data via MQTT
navigationManager?.let { navigationManager ->
mqttSession = sdkInstance.getMqttSession(navigationManager)
mqttSession?.let {
println("MqttSession successfully initialized")
}
}

Reimplemented from com.navigine.idl.java.NavigineSdk.

Definition at line 159 of file NavigineSdkBinding.java.

◆ getNavigationManager()

NavigationManager com.navigine.idl.java.internal.NavigineSdkBinding.getNavigationManager ( LocationManager locationManager)
inline

NavigationManager instance, which could be used for working with the com.navigine.idl.java.Position.

Parameters
locationManagerLocationManager instance
Returns
NavigationManager instance

Java code snippet:

// Get NavigationManager for navigation
if (locationManager != null) {
navigationManager = sdk.getNavigationManager(locationManager);
if (navigationManager != null) {
System.out.println("NavigationManager successfully initialized");
}
}

Kotlin code snippet:

// Get NavigationManager for navigation
locationManager?.let { locationManager ->
navigationManager = sdkInstance.getNavigationManager(locationManager)
navigationManager?.let {
println("NavigationManager successfully initialized")
}
}

Reimplemented from com.navigine.idl.java.NavigineSdk.

Definition at line 68 of file NavigineSdkBinding.java.

◆ getNotificationManager()

NotificationManager com.navigine.idl.java.internal.NavigineSdkBinding.getNotificationManager ( LocationManager locationManager)
inline

NotificationManager instance, which could be used for working with notifications when detecting beacons. Notification

Parameters
locationManagerLocationManager instance
Returns
NotificationManager instance

Java code snippet:

// Get NotificationManager for notifications
if (locationManager != null) {
notificationManager = sdk.getNotificationManager(locationManager);
if (notificationManager != null) {
System.out.println("NotificationManager successfully initialized");
}
}

Kotlin code snippet:

// Get NotificationManager for notifications
locationManager?.let { locationManager ->
notificationManager = sdkInstance.getNotificationManager(locationManager)
notificationManager?.let {
println("NotificationManager successfully initialized")
}
}

Reimplemented from com.navigine.idl.java.NavigineSdk.

Definition at line 89 of file NavigineSdkBinding.java.

◆ getRelativeTime()

static native long com.navigine.idl.java.internal.NavigineSdkBinding.getRelativeTime ( )
static

Method returns current timestamp.

Returns
internal timestamp

Java code snippet:

// Get relative time
System.out.println("Relative Time: " + NavigineSdk.getRelativeTime());

Kotlin code snippet:

// Get relative time
println("Relative Time: ${NavigineSdk.getRelativeTime()}")

Reimplemented from com.navigine.idl.java.NavigineSdk.

◆ getResourceManager()

ResourceManager com.navigine.idl.java.internal.NavigineSdkBinding.getResourceManager ( LocationManager locationManager)
inline

Definition at line 138 of file NavigineSdkBinding.java.

◆ getRouteManager()

RouteManager com.navigine.idl.java.internal.NavigineSdkBinding.getRouteManager ( LocationManager locationManager,
NavigationManager navigationManager )
inline

RouteManager instance, which could be used for working making routes, setting target points. RoutePath

Parameters
locationManagerLocationManager instance
navigationManagerNavigationManager instance
Returns
RouteManager instance

Java code snippet:

// Get RouteManager for building routes
if (locationManager != null && navigationManager != null) {
routeManager = sdk.getRouteManager(locationManager, navigationManager);
if (routeManager != null) {
System.out.println("RouteManager successfully initialized");
}
}

Kotlin code snippet:

// Get RouteManager for building routes
locationManager?.let { locationManager ->
navigationManager?.let { navigationManager ->
routeManager = sdkInstance.getRouteManager(locationManager, navigationManager)
routeManager?.let {
println("RouteManager successfully initialized")
}
}
}

Reimplemented from com.navigine.idl.java.NavigineSdk.

Definition at line 124 of file NavigineSdkBinding.java.

◆ getStorageManager()

StorageManager com.navigine.idl.java.internal.NavigineSdkBinding.getStorageManager ( )
inline

Returns a manager that allows to manage user storages

Returns
Storage manager instance StorageManager

Java code snippet:

// Get StorageManager for working with storages
storageManager = sdk.getStorageManager();
if (storageManager != null) {
System.out.println("StorageManager successfully initialized");
}

Kotlin code snippet:

// Get StorageManager for working with storages
storageManager = sdkInstance.storageManager
storageManager?.let {
println("StorageManager successfully initialized")
}

Reimplemented from com.navigine.idl.java.NavigineSdk.

Definition at line 110 of file NavigineSdkBinding.java.

◆ getUserAgent()

static native String com.navigine.idl.java.internal.NavigineSdkBinding.getUserAgent ( )
static

Method returns current User-Agent string.

Returns
User-Agent string

Reimplemented from com.navigine.idl.java.NavigineSdk.

◆ getUserLocationLayer()

UserLocationLayer com.navigine.idl.java.internal.NavigineSdkBinding.getUserLocationLayer ( LocationWindow locationWindow)
inline

Create layer with the user location icon.

Reimplemented from com.navigine.idl.java.NavigineSdk.

Definition at line 117 of file NavigineSdkBinding.java.

◆ getVersion()

static native String com.navigine.idl.java.internal.NavigineSdkBinding.getVersion ( )
static

Method returns NavigineSdk SDK Version.

Returns
version of SDK

Java code snippet:

// Get SDK version
System.out.println("Navigine SDK Version: " + NavigineSdk.getVersion());

Kotlin code snippet:

// Get SDK version
println("Navigine SDK Version: ${NavigineSdk.getVersion()}")

Reimplemented from com.navigine.idl.java.NavigineSdk.

◆ getZoneManager()

ZoneManager com.navigine.idl.java.internal.NavigineSdkBinding.getZoneManager ( NavigationManager navigationManager)
inline

ZoneManager instance, which could be used for working with zones and detecting enter and leave events. Zone

Parameters
navigationManagerNavigationManager instance
Returns
ZoneManager instance

Java code snippet:

// Get ZoneManager for working with zones
if (navigationManager != null) {
zoneManager = sdk.getZoneManager(navigationManager);
if (zoneManager != null) {
System.out.println("ZoneManager successfully initialized");
}
}

Kotlin code snippet:

// Get ZoneManager for working with zones
navigationManager?.let { navigationManager ->
zoneManager = sdkInstance.getZoneManager(navigationManager)
zoneManager?.let {
println("ZoneManager successfully initialized")
}
}

Reimplemented from com.navigine.idl.java.NavigineSdk.

Definition at line 75 of file NavigineSdkBinding.java.

◆ isValid()

native boolean com.navigine.idl.java.internal.NavigineSdkBinding.isValid ( )

Tells if this NavigineSdk is valid or not. Any other method (except for this one) called on an invalid NavigineSdk will throw java.lang.RuntimeException.

Reimplemented from com.navigine.idl.java.NavigineSdk.

◆ reset()

void com.navigine.idl.java.internal.NavigineSdkBinding.reset ( )
inline

Resets SDK to the initial connection state: default production server URL, empty user hash, and a new session propagated to managers (same effect on session-aware managers as changing server or user hash). Call from the UI thread.

Reimplemented from com.navigine.idl.java.NavigineSdk.

Definition at line 54 of file NavigineSdkBinding.java.

◆ setServer()

void com.navigine.idl.java.internal.NavigineSdkBinding.setServer ( String server)
inline

Method is used to set server url.

Parameters
servercustom server url in format: http[s]://example.com

Java code snippet:

// Set server URL (optional)
sdk.setServer("https://custom.navigine.com");

Kotlin code snippet:

// Set server URL (optional)
sdk?.setServer("https://custom.navigine.com")

Reimplemented from com.navigine.idl.java.NavigineSdk.

Definition at line 47 of file NavigineSdkBinding.java.

◆ setUserHash()

void com.navigine.idl.java.internal.NavigineSdkBinding.setUserHash ( String userHash)
inline

Method is used to set USER_HASH from the user's profile in CMS.

Parameters
userHashauth token in format XXXX-XXXX-XXXX-XXXX

Java code snippet:

// Set user hash (authorization token)
sdk.setUserHash("XXXX-XXXX-XXXX-XXXX");

Kotlin code snippet:

// Set user hash (authorization token)
sdk?.setUserHash("XXXX-XXXX-XXXX-XXXX")

Reimplemented from com.navigine.idl.java.NavigineSdk.

Definition at line 40 of file NavigineSdkBinding.java.


The documentation for this class was generated from the following file: