Enum SearchManagerType

com.yandex.mapkit.search

public enum SearchManagerType

Search manager type.

Describes difference in online/offline search handling.

Fields

COMBINED
DEFAULT
OFFLINE
ONLINE

Online search manager.

Field Detail

COMBINED

public

Attention.

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.

DEFAULT

public

Attention.

This feature is not available in the free MapKit version.

Default search manager. Uses connectivity info from phone OS to determine if it should use online or offline search. Will not combine results from online and offline searches in a single session. If search is started in one of the modes all resubmits will be issued in this mode.

OFFLINE

public

Attention.

This feature is not available in the free MapKit version.

Offline search manager. Always tries to use offline search even if network is available.

ONLINE

public

Online search manager.

Always tries to use online search even if network is not available.