InstanceIdResult

public interface InstanceIdResult

This interface is deprecated.
Firebase Instance ID has been replaced with FirebaseInstallations for app instance identifiers and FirebaseMessaging.getToken() for FCM registration tokens.

Result object obtained from requests for an Instance ID and token.

Public Method Summary

abstract String
getId()
Returns the stable identifier that uniquely identifies this application instance.
abstract String
getToken()
Returns the token that authorizes performing actions on behalf of this application instance.

Public Methods

public abstract String getId ()

Returns the stable identifier that uniquely identifies this application instance.

public abstract String getToken ()

Returns the token that authorizes performing actions on behalf of this application instance.

For example, this token authorizes sending messages via Firebase Cloud Messaging.