FairmaticNotificationContainer

Used to encapsulate a notification along with a notification ID. It is used by the Fairmatic SDK to obtain notifications returned by an app supplied class that implements the FairmaticNotificationProvider interface.

Parameters

id

The notification ID to be used for displaying the notification.

notification

The notification to be displayed

Constructors

Link copied to clipboard
constructor(id: Int, notification: Notification)

Functions

Link copied to clipboard
fun getId(): Int

Returns the ID for the notification encapsulated by this container.

Link copied to clipboard

Returns the notification that is encapsulated by the container.