HERE Android SDK Developer's Guide

CLE2LayerMetadata

The class CLE2LayerMetadata is a member of com.here.android.mpa.customlocation2 .

Class Summary

public final class CLE2LayerMetadata

extends java.lang.Object

Encapsulates metadata describing a CLE2 layer.

[For complete information, see the section Class Details]

See also:

newListLayersTask(StorageType)

Method Summary

Table 1. Methods in CLE2LayerMetadata
Methods

public String getLayerId ()

Gets id (name) of the layer

public long getTimestamp ()

Gets the timestamp of a CLE2 layer.

Class Details

Encapsulates metadata describing a CLE2 layer.

See also:

newListLayersTask(StorageType)

Method Details

public String getLayerId ()

Gets id (name) of the layer

Returns:

an id of the layer

public long getTimestamp ()

Gets the timestamp of a CLE2 layer. For layers on remote CLE2 service, this indicates time of last modification of any data contained within the layer. For layers stored locally, this is a timestamp of a CLE2 layer as it was at the time it was downloaded from remote CLE2 service. Layers that were created and stored locally do not have a timestamp.

Returns:

a timestamp - number of milliseconds since Unix epoch or 0 for layers that did not originate from remote CLE2 service