public class

PushNotifications

extends Object
java.lang.Object
   ↳ com.glia.androidsdk.fcm.PushNotifications

Summary

Nested Classes
interface PushNotifications.PushNotificationsEvent<T>  
Public Constructors
PushNotifications()
Public Methods
static Set<PushNotificationEvent> getDefaultPushEvents(Context context)
getFcmTokenObservable()
Set<PushNotificationEvent> getPushEvents()
synchronized String getToken()
static Set<PushNotificationEvent> makePushEvents(Context context, Collection<PushNotificationType> types)
void onNewMessage(RemoteMessage message)
void subscribeToEvents(Collection<PushNotificationEvent> events)
void updateFcmToken(String newFcmToken)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public PushNotifications ()

Public Methods

public static Set<PushNotificationEvent> getDefaultPushEvents (Context context)

public getFcmTokenObservable ()

public Set<PushNotificationEvent> getPushEvents ()

public synchronized String getToken ()

public static Set<PushNotificationEvent> makePushEvents (Context context, Collection<PushNotificationType> types)

public void onNewMessage (RemoteMessage message)

public void subscribeToEvents (Collection<PushNotificationEvent> events)

public void updateFcmToken (String newFcmToken)