Go to console

Notification

public class Notification extends Object

Represents the notification parameters that can be included in a Message. Instances of this class are thread-safe and immutable.

Public Constructor Summary

Notification(String title, String body)
Creates a new Notification using the given title and body.
Notification(String title, String body, String imageUrl)
Creates a new Notification using the given title, body, and image.

Inherited Method Summary

Public Constructors

public Notification (String title, String body)

Creates a new Notification using the given title and body.

Parameters
title Title of the notification.
body Body of the notification.

public Notification (String title, String body, String imageUrl)

Creates a new Notification using the given title, body, and image.

Parameters
title Title of the notification.
body Body of the notification.
imageUrl URL of the image that is going to be displayed in the notification.