InstanceIdResult

public interface InstanceIdResult

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.

Send feedback about...

Need help? Visit our support page.