HERE Android SDK Developer's Guide

UpdateType

The enumeration UpdateType is a member of com.here.android.mpa.urbanmobility.CityCoverageRequest.

Enumeration Summary

public static final enumeration CityCoverageRequest.UpdateType

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

Indicates if the result should contain only NEW or UPDATED cities (since given time).

[For complete information, see the section Enumeration Details]

Enum Constant Summary

Table 1. Enum Constants in UpdateType
Fields

public static final UpdateType ALL

Both new and cities updated since the given time are returned.

public static final UpdateType NEW

Only new cities since the given time are returned.

public static final UpdateType UPDATED

Only cities updated since the given time are returned.

Method Summary

Table 2. Methods in UpdateType
Methods

public static UpdateType valueOf (String name)

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

public static CityCoverageRequest.UpdateType[] values ()

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

Enumeration Details

Indicates if the result should contain only NEW or UPDATED cities (since given time). Default is ALL cities (both updated and new since given time) are returned.

Enum Constant Details

public static final UpdateType ALL

Both new and cities updated since the given time are returned.

public static final UpdateType NEW

Only new cities since the given time are returned.

public static final UpdateType UPDATED

Only cities updated since the given time are returned.

Method Details

public static UpdateType 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 CityCoverageRequest.UpdateType[] values ()

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