public interface FirebaseRestDatabaseFactory
FirebaseRestDatabase instances. The implementation will
take care of the configuration of the AsyncHttpClient and
Gson.| Modifier and Type | Method and Description |
|---|---|
FirebaseRestDatabase |
create(java.lang.String databaseUrl,
java.lang.String accessToken)
Factory method to create a new instance of a
FirebaseRestDatabase for the given URL, using the
provided access token as the auth query parameter. |
FirebaseRestDatabase create(java.lang.String databaseUrl, java.lang.String accessToken)
FirebaseRestDatabase for the given URL, using the
provided access token as the auth query parameter.databaseUrl - The URL root URL to the Firebase database, i.e. https://myinstance.firebaseio.comaccessToken - The access token to be used for all requests to this database. Value can be nullFirebaseRestDatabase representing the database of the given URL