public class

FirebaseInstanceId

extends Object
java.lang.Object
   ↳ com.google.firebase.iid.FirebaseInstanceId

Class Overview

This class is the entry point for all server-side Firebase Instance ID actions.

Enables deleting instance IDs associated with Firebase projects.

Summary

Public Methods
ApiFuture<Void> deleteInstanceIdAsync(String instanceId)
Deletes the specified instance ID from Firebase.
static FirebaseInstanceId getInstance()
Gets the FirebaseInstanceId instance for the default FirebaseApp.
synchronized static FirebaseInstanceId getInstance(FirebaseApp app)
Gets the FirebaseInstanceId instance for the specified FirebaseApp.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public ApiFuture<Void> deleteInstanceIdAsync (String instanceId)

Deletes the specified instance ID from Firebase.

This can be used to delete an instance ID and associated user data from a Firebase project, pursuant to the General Data Protection Regulation (GDPR).

Parameters
instanceId A non-null, non-empty instance ID string.
Returns
  • An ApiFuture which will complete successfully when the instance ID is deleted, or unsuccessfully with the failure Exception..

public static FirebaseInstanceId getInstance ()

Gets the FirebaseInstanceId instance for the default FirebaseApp.

Returns

public static synchronized FirebaseInstanceId getInstance (FirebaseApp app)

Gets the FirebaseInstanceId instance for the specified FirebaseApp.

Returns