com.google.firebase
Classes
FirebaseApp |
The entry point of Firebase SDKs. |
FirebaseOptions |
Configurable Firebase options. |
FirebaseOptions.Builder |
Builder for constructing FirebaseOptions. |
Timestamp |
A Timestamp represents a point in time independent of any time zone or calendar. |
Exceptions
FirebaseNetworkException |
Exception thrown when a request to a Firebase service has failed due to a network error. |
FirebaseTooManyRequestsException |
Exception thrown when a request to a Firebase service has been blocked due to having received too many consecutive requests from the same device. |
Objects
Firebase |
Single access point to all firebase SDKs from Kotlin. |
Extension functions summary
FirebaseApp |
Returns a named firebase app instance. |
FirebaseApp |
Firebase.initialize( Initializes and returns a FirebaseApp. |
FirebaseApp |
Firebase.initialize(context: Context, options: FirebaseOptions) Initializes and returns a FirebaseApp. |
FirebaseApp? |
Firebase.initialize(context: Context) Initializes and returns a FirebaseApp. |
Extension properties summary
FirebaseApp |
Returns the default firebase app instance. |
FirebaseOptions |
Returns options of default FirebaseApp |
Extension functions
initialize
fun Firebase.initialize(
context: Context,
options: FirebaseOptions,
name: String
): FirebaseApp
Initializes and returns a FirebaseApp.
initialize
fun Firebase.initialize(context: Context, options: FirebaseOptions): FirebaseApp
Initializes and returns a FirebaseApp.
initialize
fun Firebase.initialize(context: Context): FirebaseApp?
Initializes and returns a FirebaseApp.