Class DefaultStreamTransliterator
-
- All Implemented Interfaces:
-
io.getstream.chat.android.ui.common.feature.messages.composer.transliteration.StreamTransliterator
public final class DefaultStreamTransliterator implements StreamTransliterator
Default implementation for StreamTransliterator. This class uses the native transliteration provided by Android. Requires Android Q or higher.
-
-
Constructor Summary
Constructors Constructor Description DefaultStreamTransliterator(String transliterationId)
-
Method Summary
Modifier and Type Method Description Stringtransliterate(String text)Transliterate the given text. -
-
Constructor Detail
-
DefaultStreamTransliterator
DefaultStreamTransliterator(String transliterationId)
-
-
Method Detail
-
transliterate
@RequiresApi(value = 29) String transliterate(String text)
Transliterate the given text.
- Parameters:
text- The text to transliterate.- Returns:
The transliterated text.
-
-
-
-