Warning
This feature is available in the Full MapKit SDK version
MMKSearchManagerType
enum MMKSearchManagerType : NSUInteger {} |
Search manager type. Describes difference in online/offline search handling.
Summary
Enum cases
MMKSearchManagerTypeOnline |
MMKSearchManagerTypeOffline |
MMKSearchManagerTypeCombined |
Enum cases
MMKSearchManagerTypeOnline
MMKSearchManagerTypeOnline |
Online search manager. Always tries to use online search even if network is not available.
MMKSearchManagerTypeOffline
MMKSearchManagerTypeOffline |
Note
This feature is not available in the free MapKit version.
Offline search manager. Always tries to use offline search even if network is available.
MMKSearchManagerTypeCombined
MMKSearchManagerTypeCombined |
Note
This feature is not available in the free MapKit version.
Combined search manager. Decision to use online or offline search is based on internal timeout. If server manages to respond within given time, then online search result is returned. Otherwise uses offline search. Will combine online and offline search result in single session (hence the name). Timeout logic is applied on each resubmit until first response from offline search is returned to the listener. After that timeout is reduced to zero for all following resubmits.