public class FirebaseMessagingService extends Service

Base class for communicating with Firebase Messaging.

It also provides functionality such as automatically displaying notifications.

Override base class methods to handle any events required by the application. Methods are invoked on a background thread.

Include the following in the manifest:

 <service android:name=".YourFirebaseMessagingService">
         <action android:name="" />

Inherited Constant Summary

Public Constructor Summary

Public Method Summary

final IBinder
onBind(Intent intent)
Called when the FCM server deletes pending messages.
onMessageReceived(RemoteMessage message)
Called when a message is received.
onMessageSent(String msgId)
Called when an upstream message has been successfully sent to the GCM connection server.
onSendError(String msgId, Exception exception)
Called when there was an error sending an upstream message.
final int
onStartCommand(Intent originalIntent, int flags, int startId)

Inherited Method Summary