public class FirebaseManager
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static FirebaseManager |
getInstance() |
FirebaseMessagingService |
getMessagingService() |
protected void |
onMessageReceived(java.lang.String messageId,
java.lang.String messageType,
java.lang.String[] keys,
java.lang.String[] values,
java.lang.String collapsedKey,
int ttl) |
protected void |
onTokenRefresh() |
void |
registerFirebaseInstanceIdService(FirebaseInstanceIdService service) |
void |
setMessagingService(FirebaseMessagingService messagingService) |
void |
tokenReceived() |
public static FirebaseManager getInstance()
public void registerFirebaseInstanceIdService(FirebaseInstanceIdService service)
public void tokenReceived()
public void setMessagingService(FirebaseMessagingService messagingService)
public FirebaseMessagingService getMessagingService()
protected void onTokenRefresh()
protected void onMessageReceived(java.lang.String messageId, java.lang.String messageType, java.lang.String[] keys, java.lang.String[] values, java.lang.String collapsedKey, int ttl)