MessageCenterOptions

data class MessageCenterOptions(val showMessageListThumbnail: Boolean, val messageListPlaceholderIcon: @Composable () -> Unit, val messageListUnreadIndicator: @Composable (Boolean) -> Unit, val messageCenterDividerEnabled: Boolean, val messageCenterEmptyListMessage: @Composable () -> Unit? = null, val messageLoadingView: @Composable () -> Unit? = null, val messageCenterListTitle: String? = null, val canDeleteMessages: Boolean = true)(source)

Configuration options for the Message Center UI.

Constructors

Link copied to clipboard
constructor(showMessageListThumbnail: Boolean, messageListPlaceholderIcon: @Composable () -> Unit, messageListUnreadIndicator: @Composable (Boolean) -> Unit, messageCenterDividerEnabled: Boolean, messageCenterEmptyListMessage: @Composable () -> Unit? = null, messageLoadingView: @Composable () -> Unit? = null, messageCenterListTitle: String? = null, canDeleteMessages: Boolean = true)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Whether messages can be deleted from the Message Center. Setting this to false will hide any delete UI in the Message Center.

Link copied to clipboard

Whether to show dividers between items in the Message Center list

Link copied to clipboard

Message Center list empty state message view override.

Link copied to clipboard

Overrides the title shown in the Message Center List screen top bar. If null, the default localized string will be used.

Link copied to clipboard

Placeholder for messages, shown while loading or if no thumbnail is set.

Link copied to clipboard

Message list unread indicator override.

Link copied to clipboard

Overrides message loading view.

Link copied to clipboard

Whether to show message thumbnails in the Message Center list.