Details Exceptions System.ArgumentException
If the default app instance already exists.
Returns
Create
FirebaseApp Create( string name )Creates an app with the specified name, and Google Application Default Credentials.
Details Exceptions System.ArgumentException
If the default app instance already exists.
Parameters Returns
Create
FirebaseApp Create( AppOptions options )Creates the default app instance with the specified options.
Details Exceptions System.ArgumentException
If the default app instance already exists.
Parameters options
Options to create the app with. Must at least contain the Credential
.
Returns
Create
FirebaseApp Create( AppOptions options, string name )Creates an app with the specified name and options.
Details Exceptions System.ArgumentException
If the default app instance already exists.
Parameters options
Options to create the app with. Must at least contain the Credential
.
name
Name of the app.
Returns
GetInstance
FirebaseApp GetInstance( string name )Returns the app instance identified by the given name.
Details Exceptions System.ArgumentException
If the name argument is null or empty.
Parameters name
Name of the app to retrieve.
Returns The
FirebaseApp instance with the specified name or null if it doesn't exist.
Public functions Delete
void Delete() Deletes this app instance and cleans up any state associated with it.
Once an app has been deleted, accessing any services related to it will result in an exception. If the app is already deleted, this method is a no-op.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-03-24 UTC.
Need to tell us more? [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2022-03-24 UTC."],[],[]]