API reference
API reference
Select your platform
No SDKs available
No versions available

Notifications Class

Modifiers: final
The Notifications class provides a way to manage and display notifications to the user. Notifications can be used to inform the user of important events, such as new messages, friend requests, or updates to installed apps. See more info about Platform Solutions here.

Signature

class Notifications

Constructors

Notifications ()
Signature
constructor()
Returns
Notifications

Functions

deviceNotification ( deviceNotificationConfig )
Triggers a device notification to show the notification toast and feed the notification to notification feed.
Signature
suspend fun deviceNotification(deviceNotificationConfig: DeviceNotificationConfig)
Parameters
deviceNotificationConfig: DeviceNotificationConfig
Did you find this page helpful?