public static class TrafficIncidentsBalloonViewAdapter.MagnitudeFormatter extends java.lang.Object implements com.tomtom.online.sdk.common.util.AndroidStringFormatter<Optional<java.lang.Integer>>
| Constructor and Description |
|---|
MagnitudeFormatter(android.content.Context context)
Formatter for traffic incident magnitude flow param.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
format(Optional<java.lang.Integer> magnitude) |
android.content.Context |
getContext() |
public MagnitudeFormatter(@NonNull
android.content.Context context)
context - to get access to string resources.public java.lang.String format(@NonNull
Optional<java.lang.Integer> magnitude)
format in interface com.tomtom.online.sdk.common.util.AndroidStringFormatter<Optional<java.lang.Integer>>magnitude - data to format.@NonNull public android.content.Context getContext()
getContext in interface com.tomtom.online.sdk.common.util.Contextable