public class

Notification

extends Object
java.lang.Object
   ↳ com.google.firebase.messaging.Notification

Class Overview

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

Summary

Public Constructors
Notification(String title, String body)
Creates a new Notification using the given title and body.
[Expand]
Inherited Methods
From class java.lang.Object

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.