Firebase. FirebaseApp
Summary
Inheritance
Inherits from: SystemIDisposable
Properties |
|
|---|---|
DefaultInstance
|
static FirebaseApp
Get the default FirebaseApp instance.
|
DefaultName
|
static string
|
Name
|
string
|
Options
|
|
Public functions |
|
|---|---|
Dispose()
|
void
|
Public static functions |
|
|---|---|
CheckDependencies()
|
Checks if all of the necessary dependencies for Firebase are present on the system, and in the necessary state.
|
Create()
|
Initializes the default FirebaseApp with default options.
|
Create(AppOptions options)
|
Initializes the default FirebaseApp with the given options.
|
Create(AppOptions options, string name)
|
Initializes a FirebaseApp with the given options that operate on the named app.
|
FixDependenciesAsync()
|
Attempts to fix any missing dependencies that would prevent Firebase from working on the system.
|
GetInstance(string name)
|
Get an instance of an app by name.
|
SetLogLevel(LogLevel level)
|
void
Set the minimum log verbosity level.
|
Properties
DefaultInstance
static FirebaseApp DefaultInstance
Get the default FirebaseApp instance.
| Details | |
|---|---|
| Returns |
Reference to the default app, if it hasn't been created this method will create it.
|
DefaultName
static string DefaultName
Name
string Name
Options
AppOptions Options
Public functions
Dispose
void Dispose()
Public static functions
CheckDependencies
DependencyStatus CheckDependencies()
Create
FirebaseApp Create()
Initializes the default FirebaseApp with default options.
| Details | |
|---|---|
| Returns |
New FirebaseApp instance.
|
Create
FirebaseApp Create( AppOptions options )
Initializes the default FirebaseApp with the given options.
| Details | |||
|---|---|---|---|
| Parameters |
|
||
| Returns |
New FirebaseApp instance.
|
Create
FirebaseApp Create( AppOptions options, string name )
Initializes a FirebaseApp with the given options that operate on the named app.
| Details | |||||
|---|---|---|---|---|---|
| Parameters |
|
||||
| Returns |
New FirebaseApp instance.
|
FixDependenciesAsync
System.Threading.Tasks.Task FixDependenciesAsync()
Attempts to fix any missing dependencies that would prevent Firebase from working on the system.
Since this function is asynchronous, the returned Task must be monitored in order to tell when it has completed. Also note, that depending on the fixes necessary, the user may be prompted for additional input.
| Details | |
|---|---|
| Returns |
System.Threading.Tasks.Task A task that tracks the progress of the fix.
|
GetInstance
FirebaseApp GetInstance( string name )
Get an instance of an app by name.
| Details | |||
|---|---|---|---|
| Parameters |
|
||
| Returns |
Reference to the app if it was previously created, null otherwise.
|
SetLogLevel
void SetLogLevel( LogLevel level )
Set the minimum log verbosity level.
| Details | |||
|---|---|---|---|
| Parameters |
|

