PushNotificationManager

Defines the PushNotificationManager contract for the SDAI notification layer.

Author

Dmitriy Moroz

Inheritors

Functions

Link copied to clipboard
abstract fun createAndShowInstant(title: UiText, body: UiText)
abstract fun createAndShowInstant(title: String, body: String)

Creates the SDAI value produced by createAndShowInstant.

Link copied to clipboard
abstract fun createNotification(title: UiText, body: UiText?, block: NotificationCompat.Builder.() -> Unit = {}): Notification
abstract fun createNotification(title: String, body: String?, block: NotificationCompat.Builder.() -> Unit = {}): Notification

Creates the SDAI value produced by createNotification.

Link copied to clipboard

Creates the SDAI value produced by createNotificationChannel.

Link copied to clipboard
abstract fun show(id: Int, notification: Notification)

Executes the show step in the SDAI notification layer.