MessagingAppService

Service responsible for maintaining all state and business logic for the messaging frontend. Note that this means that its API is tightly couple with StockMessagingFrontend.

The basic concept is that a MessageStackNotifcation in this service is one-to-one reflected by a MessageStackNotificationPanel on the frontend. All immediate state of the panel is directly described by the MessageStackNotifcation, without any logic being needed inside the frontend.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

All current message stack notifications.

Functions

Link copied to clipboard
abstract suspend fun onCallContact(id: MessageStackNotificationId)

Initiate a call to the sender of the message stack notification with the specified id.

Link copied to clipboard

Indicates that the message notification with the specified id was dismissed.

Link copied to clipboard

Indicates that the message notification with the specified id is presented.

Link copied to clipboard
abstract suspend fun onQuickReply(id: MessageStackNotificationId, contentText: String)

Initiate a quick reply with the specified contentText to the sender of the message stack notification with the specified id.

Link copied to clipboard

Start playback for message stack notification with the specified id.

Link copied to clipboard
abstract suspend fun onStopPlayback(id: MessageStackNotificationId)

Stop playback for message stack notification with the specified id.