Class LocalizedText
Package com.here.sdk.core
Class LocalizedText
- java.lang.Object
-
- com.here.sdk.core.LocalizedText
-
public final class LocalizedText extends java.lang.ObjectUsed to represent text localized to specific language.
-
-
Constructor Summary
Constructors Constructor Description LocalizedText(java.lang.String text, java.util.Locale locale)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)inthashCode()
-
-
-
Constructor Detail
-
LocalizedText
public LocalizedText(@NonNull java.lang.String text, @Nullable java.util.Locale locale)Creates a new instance.
- Parameters:
text-Text value.
locale-Locale of text, in most cases contains only language code. If locale is not supported by the platform,
nullis returned.
-
-