public static class TrafficIncidentsBalloonViewAdapter.TrafficRoadCoverageFormatter extends java.lang.Object implements com.tomtom.online.sdk.common.util.AndroidStringFormatter<Optional<java.lang.String>>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FULL
Server representation of two side road traffic coverage.
|
static java.lang.String |
ONE_SIDE
Server representation of one side road traffic coverage.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
format(Optional<java.lang.String> coverage) |
android.content.Context |
getContext() |
public static final java.lang.String ONE_SIDE
public static final java.lang.String FULL
public java.lang.String format(@NonNull Optional<java.lang.String> coverage)
format
in interface com.tomtom.online.sdk.common.util.AndroidStringFormatter<Optional<java.lang.String>>
coverage
- data to format.@NonNull public android.content.Context getContext()
getContext
in interface com.tomtom.online.sdk.common.util.Contextable