-
public class MessagePreviewFormatter.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static MessagePreviewFormatter.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final MessagePreviewFormatterdefaultFormatter(Context context, Boolean autoTranslationEnabled, StreamDesign.Typography typography)Builds the default message preview text formatter. -
-
Method Detail
-
defaultFormatter
final MessagePreviewFormatter defaultFormatter(Context context, Boolean autoTranslationEnabled, StreamDesign.Typography typography)
Builds the default message preview text formatter.
- Parameters:
context- The context to load string resources.autoTranslationEnabled- Whether the auto-translation is enabled.typography- The typography to use for styling.
-
-
-
-