HERE Android SDK Developer's Guide

NameMatchingMethod

The enumeration NameMatchingMethod is a member of com.here.android.mpa.urbanmobility.StationSearchRequest.

Enumeration Summary

public static final enumeration StationSearchRequest.NameMatchingMethod

extends java.lang.Enum, java.lang.Object

Possible matching methods for a station name.

[For complete information, see the section Enumeration Details]

Enum Constant Summary

Table 1. Enum Constants in NameMatchingMethod
Fields

public static final NameMatchingMethod STRICT

Search for a station with the name exactly match one of the names requested or contains its part.

public static final NameMatchingMethod FUZZY

Search for a station with the name similar to one of the names requested i.e.

Method Summary

Table 2. Methods in NameMatchingMethod
Methods

public static NameMatchingMethod valueOf (String name)

This method retrieves the enumeration value that matches the name specified by the caller.

public static StationSearchRequest.NameMatchingMethod[] values ()

This method retrieves an array of constants of the given enum type in the order in which they are declared.

Enumeration Details

Possible matching methods for a station name. Default is FUZZY meaning that non-exact matches will be allowed.

Enum Constant Details

public static final NameMatchingMethod STRICT

Search for a station with the name exactly match one of the names requested or contains its part.

public static final NameMatchingMethod FUZZY

Search for a station with the name similar to one of the names requested i.e. non-exact matches are allowed.

Method Details

public static NameMatchingMethod valueOf (String name)

This method retrieves the enumeration value that matches the name specified by the caller.

Parameters:

  • name

    A string containing the name of the enumeration member whose value is to be retrieved.

public static StationSearchRequest.NameMatchingMethod[] values ()

This method retrieves an array of constants of the given enum type in the order in which they are declared.