-
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, StreamTypography typography, List<AttachmentFactory> attachmentFactories, StreamColors colors)Builds the default message preview text formatter. -
-
Method Detail
-
defaultFormatter
final MessagePreviewFormatter defaultFormatter(Context context, Boolean autoTranslationEnabled, StreamTypography typography, List<AttachmentFactory> attachmentFactories, StreamColors colors)
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.attachmentFactories- The list of AttachmentFactory to use for formatting attachments.
-
-
-
-