AndroidApp

public class AndroidApp extends Object

An instance of this class is a reference to an Android App within a Firebase Project; it can be used to query detailed information about the App, modify the display name of the App, or download the configuration file for the App.

Note: the methods in this class make RPCs.

Public Method Summary

ShaCertificate
createShaCertificate(ShaCertificate certificateToAdd)
Adds the given SHA certificate to this Android app.
ApiFuture<ShaCertificate>
createShaCertificateAsync(ShaCertificate certificateToAdd)
Asynchronously adds the given SHA certificate to this Android app.
void
deleteShaCertificate(ShaCertificate certificateToRemove)
Removes the given SHA certificate from this Android app.
ApiFuture<Void>
deleteShaCertificateAsync(ShaCertificate certificateToRemove)
Asynchronously removes the given SHA certificate from this Android app.
String
getConfig()
Retrieves the configuration artifact associated with this Android App.
ApiFuture<String>
getConfigAsync()
Asynchronously retrieves the configuration artifact associated with this Android App.
AndroidAppMetadata
getMetadata()
Retrieves detailed information about this Android App.
ApiFuture<AndroidAppMetadata>
getMetadataAsync()
Asynchronously retrieves information about this Android App.
List<ShaCertificate>
getShaCertificates()
Retrieves the entire list of SHA certificates associated with this Android app.
ApiFuture<List<ShaCertificate>>
getShaCertificatesAsync()
Asynchronously retrieves the entire list of SHA certificates associated with this Android app.
void
setDisplayName(String newDisplayName)
Updates the Display Name attribute of this Android App to the one given.
ApiFuture<Void>
setDisplayNameAsync(String newDisplayName)
Asynchronously updates the Display Name attribute of this Android App to the one given.

Inherited Method Summary