Notification
Stay organized with collections
Save and categorize content based on your preferences.
Represents the notification parameters that can be included in a Message
. Instances
of this class are thread-safe and immutable.
Inherited Method Summary
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-04-28 UTC.
[null,null,["Last updated 2021-04-28 UTC."],[],[],null,["public class **Notification** extends Object \nRepresents the notification parameters that can be included in a [Message](/docs/reference/admin/java/reference/com/google/firebase/messaging/Message). Instances\nof this class are thread-safe and immutable. \n\nNested Class Summary\n\nPublic Method Summary\n\nInherited Method Summary \nFrom class java.lang.Object \n\nPublic Methods \n\npublic static [Notification.Builder](/docs/reference/admin/java/reference/com/google/firebase/messaging/Notification.Builder)\n**builder**\n() \nCreates a new [Notification.Builder](/docs/reference/admin/java/reference/com/google/firebase/messaging/Notification.Builder). \n\nReturns\n\n- A [Notification.Builder](/docs/reference/admin/java/reference/com/google/firebase/messaging/Notification.Builder) instance."]]