Message

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
builder()
Creates a new Message.Builder.

Inherited Method Summary

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()

Public Methods

public static Message.Builder builder ()

Creates a new Message.Builder.

Returns