Loading...
Searching...
No Matches
RouteManager Directory Reference

Directories

 dart
 
 java
 
 kotlin
 
 objc
 
 swift
 

Detailed Description

This directory contains comprehensive examples demonstrating how to use the Navigine SDK RouteManager across different platforms.

Overview

RouteManager is used for evaluating route paths from point to point, managing targets, and handling route events. The examples cover all available methods and properties of the RouteManager API.

Supported Platforms

Key Features Demonstrated

RouteManager Methods

RoutePath Properties and Methods

RouteEvent Properties

RouteEventType Enum Values

All examples demonstrate how to get all enum values using the values() method or equivalent platform-specific approach.

RouteListener Methods

Example Structure

Each example follows a consistent structure:

  1. SDK Initialization - Setting up NavigineSdk, LocationManager, NavigationManager, and RouteManager
  2. Route Listener Setup - Implementing RouteListener interface
  3. Basic Route Operations - Creating routes, setting targets, managing graph tags
  4. Route Path Analysis - Working with route properties and segments
  5. Route Events - Handling turn and transition events
  6. Advanced Features - Multiple graph tags, complex routing scenarios
  7. Route Planning Simulation - Dynamic target management
  8. Cleanup - Proper resource management

Usage

Running the Examples

Dart/Flutter

cd examples/RouteManager/dart
dart route_manager_example.dart

Java

cd examples/RouteManager/java
javac RouteManagerExample.java
java RouteManagerExample

Kotlin

cd examples/RouteManager/kotlin
kotlinc RouteManagerExample.kt -include-runtime -d RouteManagerExample.jar
java -jar RouteManagerExample.jar

Objective-C

cd examples/RouteManager/objc
clang -framework Foundation -framework NavigineSDK RouteManagerExample.m -o RouteManagerExample
./RouteManagerExample

Swift

cd examples/RouteManager/swift
swift RouteManagerExample.swift

Key Concepts

Route Planning

Route Events

Route Segmentation

API Coverage

All examples provide 100% coverage of the RouteManager API including:

Integration Notes

Platform-Specific Notes

Dart/Flutter

Java

Kotlin

Objective-C

Swift

Documentation Tags

Each example includes documentation tags in the format [platform_ClassName_methodName] for easy reference and documentation generation:

These tags help developers quickly locate specific API usage examples across all platforms.