Class Notification

java.lang.Object
org.apache.fineract.infrastructure.gcm.domain.Notification
All Implemented Interfaces:
Serializable

public final class Notification extends Object implements Serializable
GCM message notification part.

Instances of this class are immutable and should be created using a Notification.Builder. Examples: Simplest notification:

 
 Notification notification = new Notification.Builder("myicon").build();
 
Notification with optional attributes:
 
 Notification notification = new Notification.Builder("myicon")
    .title("Hello world!")
    .body("Here is a more detailed description")
    .build();
 
See Also: