| java.lang.Object | |
| ↳ | com.google.firebase.iid.FirebaseInstanceId |
This class is the entry point for all server-side Firebase Instance ID actions.
Enables deleting instance IDs associated with Firebase projects.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| void |
deleteInstanceId(String instanceId)
Deletes the specified instance ID from Firebase.
| ||||||||||
| ApiFuture<Void> |
deleteInstanceIdAsync(String instanceId)
Similar to
deleteInstanceId(String) but performs the operation asynchronously. | ||||||||||
| 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
| |||||||||||
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).
| instanceId | A non-null, non-empty instance ID string. |
|---|
| IllegalArgumentException | If the instance ID is null or empty. |
|---|---|
| FirebaseInstanceIdException | If an error occurs while deleting the instance ID. |
Similar to deleteInstanceId(String) but performs the operation asynchronously.
| instanceId | A non-null, non-empty instance ID string. |
|---|
ApiFuture which will complete successfully when the instance ID is deleted,
or unsuccessfully with the failure Exception.| IllegalArgumentException | If the instance ID is null or empty. |
|---|
Gets the FirebaseInstanceId instance for the default FirebaseApp.
FirebaseInstanceId instance for the default FirebaseApp.
Gets the FirebaseInstanceId instance for the specified FirebaseApp.
FirebaseInstanceId instance for the specified FirebaseApp.