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
Object |
clone()
|
boolean |
equals(Object arg0)
|
void |
finalize()
|
final Class<?> |
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String |
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
Public Methods
public String getConfig ()
Retrieves the configuration artifact associated with this iOS App.
Returns
- a modified UTF-8 encoded
String
containing 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
ApiFuture
of a UTF-8 encodedString
containing the contents of the artifact
public IosAppMetadata getMetadata ()
Retrieves detailed information about this iOS App.
Returns
- an
IosAppMetadata
instance 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
ApiFuture
containing anIosAppMetadata
instance 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.