public class

Message

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

Class Overview

Represents a message that can be sent via Firebase Cloud Messaging (FCM). Contains payload information as well as the recipient information. The recipient information must contain exactly one token, topic or condition parameter. Instances of this class are thread-safe and immutable. Use Message.Builder to create new instances.

Summary

Nested Classes
class Message.Builder  
Public Methods
static Message.Builder builder()
Creates a new Message.Builder.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static Message.Builder builder ()

Creates a new Message.Builder.

Returns