HERE Android SDK Developer's Guide

MetaData

The class MetaData is a member of com.here.android.mpa.electronic_horizon .

Class Summary

public final class MetaData

extends java.lang.Object

Represents a meta data which is unique for the region where the link is located for electronic horizon.

[For complete information, see the section Class Details]

Nested Class Summary

Table 1. Nested Classes in MetaData
Nested Classes

public static final enumeration MetaData.SideOfDriving

Defines the side of driving of the specific region where the Link is located.

public static final enumeration MetaData.UnitSystem

Defines the unit system of the specific region where the Link is located.

Constructor Summary

Table 2. Constructors in MetaData
Constructors

MetaData (SideOfDriving sideOfDriving, UnitSystem unitSystem, int countryCode, int regionCode)

Constructor

Method Summary

Table 3. Methods in MetaData
Methods

public int getCountryCode ()

public int getRegionCode ()

public SideOfDriving getSideOfDriving ()

public UnitSystem getUnitSystem ()

Class Details

Represents a meta data which is unique for the region where the link is located for electronic horizon.

Constructor Details

MetaData (SideOfDriving sideOfDriving, UnitSystem unitSystem, int countryCode, int regionCode)

Constructor

Parameters:

  • sideOfDriving
  • unitSystem
  • countryCode
  • regionCode

Method Details

public int getCountryCode ()

Returns:

The ISO 3166-1 numeric country code where the link is located.

public int getRegionCode ()

Returns:

The ISO 3166-1 numeric region code where the link is located.

public SideOfDriving getSideOfDriving ()

Returns:

The side of driving where the link is located.

public UnitSystem getUnitSystem ()

Returns:

The unit system where the link is located.