public class FirebaseInstanceIdService extends Service

Base class to handle Firebase Instance ID token refresh events.

Any app interested in the Instance ID, or using Instance ID tokens, can extend this class and implement onTokenRefresh() to receive token refresh events.

To enable your FirebaseInstanceIdService include the following code in the manifest:

 <!-- FirebaseInstanceIdService performs security checks at runtime,
      no need for explicit permissions despite exported="true"             -->
 <service android:name=".MyFirebaseInstanceIdService" android:exported="true">
         <action android:name=""/>

Inherited Constant Summary

Public Constructor Summary

Public Method Summary

final IBinder
onBind(Intent intent)
final int
onStartCommand(Intent originalIntent, int flags, int startId)
Called when the system determines that the tokens need to be refreshed.

Inherited Method Summary