public class Message extends Object

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.

Nested Class Summary

class Message.Builder  

Public Method Summary

static Message.Builder
Creates a new Message.Builder.

Inherited Method Summary

Public Methods

public static Message.Builder builder ()

Creates a new Message.Builder.