java.lang.Object | |
↳ | com.google.firebase.FirebaseOptions |
Configurable Firebase options.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
FirebaseOptions.Builder | Builder for constructing FirebaseOptions. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new
FirebaseOptions instance that is populated from string resouces. | |||||||||||
API key used for authenticating requests from your app, e.g.
| |||||||||||
The Google App ID that is used to uniquely identify an instance of an app.
| |||||||||||
The database root URL, e.g.
| |||||||||||
The Project Number from the Google Developer's console, for example 012345678901, used to
configure Google Cloud Messaging.
| |||||||||||
The Google Cloud project ID, e.g.
| |||||||||||
The Google Cloud Storage bucket name, e.g.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Parameters | |
---|---|
o |
Object
|
Returns | |
---|---|
boolean |
Creates a new FirebaseOptions
instance that is populated from string resouces.
Parameters | |
---|---|
context |
Context
|
Returns | |
---|---|
FirebaseOptions |
The populated options or null if applicationId is missing from resources. |
API key used for authenticating requests from your app, e.g. AIzaSyDdVgKwhZl0sTTTLZ7iTmt1r3N2cJLnaDk, used to identify your app to Google servers.
Returns | |
---|---|
String |
The Google App ID that is used to uniquely identify an instance of an app.
Returns | |
---|---|
String |
The database root URL, e.g. http://abc-xyz-123.firebaseio.com.
Returns | |
---|---|
String |
The Project Number from the Google Developer's console, for example 012345678901, used to configure Google Cloud Messaging.
Returns | |
---|---|
String |
The Google Cloud project ID, e.g. my-project-1234
Returns | |
---|---|
String |
The Google Cloud Storage bucket name, e.g. abc-xyz-123.storage.firebase.com.
Returns | |
---|---|
String |
Returns | |
---|---|
int |
Returns | |
---|---|
String |