Class TrafficMessageChannelCode
java.lang.Object
com.here.platform.location.integration.optimizedmap.navigationattributes.TrafficMessageChannelCode
This is an experimental API. It may be removed or changed from one version to the next.
A Traffic Message Channel (TMC) road section.
A TMC road section is specified by a country (ebuCountryCode and whenever possible an extendedCountryCode), table number, location code, direction (positive or negative), and section type (internal or external).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TrafficMessageChannelCodeapply(long bitPacked, byte ecc) static TrafficMessageChannelCodeapply(short ebuCountryCode, scala.Option<Object> extendedCountryCode, short tableNumber, int locationCode, TmcDirection direction, TmcSectionType sectionType) static longbitPackLong(short ebuCountryCode, short tableNumber, int locationCode, TmcDirection direction, TmcSectionType sectionType) shortstatic bytebooleanscala.Option<Object>This is an experimental API.inthashCode()booleanbooleanintshorttoString()
-
Constructor Details
-
TrafficMessageChannelCode
public TrafficMessageChannelCode(long bitPacked, byte ecc)
-
-
Method Details
-
apply
-
eccByte
-
locationCode
public int locationCode() -
tableNumber
public short tableNumber() -
ebuCountryCode
public short ebuCountryCode() -
locationDisposition
-
extendedCountryCode
This is an experimental API. It may be removed or changed from one version to the next.The extended country code is extremely experimental, and may be removed even if the rest of the
TrafficMessageChannelCoderemains as is. -
toString
-
hashCode
public int hashCode() -
equals
-