PushNotificationManagerImpl

Implements PushNotificationManager behavior in the SDAI notification layer.

Author

Dmitriy Moroz

Constructors

Link copied to clipboard
constructor(context: Context, manager: NotificationManagerCompat)

Types

Link copied to clipboard
object Companion

Provides the companion object singleton used by the SDAI notification layer.

Properties

Link copied to clipboard
private val context: Context

Exposes the context value used by the SDAI notification layer.

Link copied to clipboard

Exposes the manager value used by the SDAI notification layer.

Functions

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

Creates the SDAI value produced by createAndShowInstant.

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

Creates the SDAI value produced by createNotification.

Link copied to clipboard
open override fun createNotificationChannel()

Creates the SDAI value produced by createNotificationChannel.

Link copied to clipboard

Executes the hasNotificationPermission step in the SDAI notification layer.

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

Executes the show step in the SDAI notification layer.