Warning

This feature is available in the Full MapKit SDK version

MMKDrivingRouterType

enum MMKDrivingRouterType : NSUInteger {}

Driving router type.

Summary

Enum cases

MMKDrivingRouterTypeOnline
Online driving router

MMKDrivingRouterTypeOffline
Offline driving router

MMKDrivingRouterTypeCombined
Combined driving router

Enum cases

MMKDrivingRouterTypeOnline

MMKDrivingRouterTypeOnline

Online driving router. Always tries to use online router even if network is not available.


MMKDrivingRouterTypeOffline

MMKDrivingRouterTypeOffline

Offline driving router. Always tries to use offline router even if network is available.


MMKDrivingRouterTypeCombined

MMKDrivingRouterTypeCombined

Combined driving router. Decision to use online or offline router is based on internal timeout. If server manages to respond within given time, then online router result is returned. Otherwise uses offline router. Will combine online and offline router result in single session (hence the name). Timeout logic is applied on each resubmit until first response from offline router is returned to the listener. After that timeout is reduced to zero for all following resubmits.