public class ZendriveNotificationContainer extends Object
It is used by the Zendrive SDK to obtain notifications returned by an app supplied class that
implements the ZendriveNotificationProvider
interface.
Constructor and Description |
---|
ZendriveNotificationContainer(int id,
Notification notification)
Creates a ZendriveNotificationContainer instance.
|
Modifier and Type | Method and Description |
---|---|
int |
getId()
Returns the ID for the notification encapsulated by this container.
|
Notification |
getNotification()
Returns the notification that is encapsulated by the container.
|
public ZendriveNotificationContainer(int id, @NonNull Notification notification)
id
- The notification ID to be used for displaying the notification.notification
- The notification to be displayedpublic int getId()
public Notification getNotification()