An instance of this class is a reference to an iOS 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
| String |
getConfig()
Retrieves the configuration artifact associated with this iOS App.
|
| ApiFuture<String> |
getConfigAsync()
Asynchronously retrieves the configuration artifact associated with this iOS App.
|
| IosAppMetadata |
getMetadata()
Retrieves detailed information about this iOS App.
|
| ApiFuture<IosAppMetadata> |
getMetadataAsync()
Asynchronously retrieves information about this iOS App.
|
| void |
setDisplayName(String newDisplayName)
Updates the Display Name attribute of this iOS App to the one given.
|
| ApiFuture<Void> |
setDisplayNameAsync(String newDisplayName)
Asynchronously updates the Display Name attribute of this iOS App to the one given.
|
| String |
toString()
|
Inherited Method Summary
Public Methods
public String getConfig ()
Retrieves the configuration artifact associated with this iOS App.
Returns
- a modified UTF-8 encoded
Stringcontaining the contents of the artifact
Throws
| FirebaseProjectManagementException | if there was an error during the RPC |
|---|
public ApiFuture<String> getConfigAsync ()
Asynchronously retrieves the configuration artifact associated with this iOS App.
Returns
- an
ApiFutureof a UTF-8 encodedStringcontaining the contents of the artifact
public IosAppMetadata getMetadata ()
Retrieves detailed information about this iOS App.
Returns
- an
IosAppMetadatainstance describing this App
Throws
| FirebaseProjectManagementException | if there was an error during the RPC |
|---|
public ApiFuture<IosAppMetadata> getMetadataAsync ()
Asynchronously retrieves information about this iOS App.
Returns
- an
ApiFuturecontaining anIosAppMetadatainstance describing this App
public void setDisplayName (String newDisplayName)
Updates the Display Name attribute of this iOS App to the one given.
Throws
| FirebaseProjectManagementException | if there was an error during the RPC |
|---|
public ApiFuture<Void> setDisplayNameAsync (String newDisplayName)
Asynchronously updates the Display Name attribute of this iOS App to the one given.