FirebaseDataSource

Interface for Firebase data source operations.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract suspend fun createJetpack(firebaseJetpack: FirebaseJetpack)

Creates a new FirebaseJetpack object in the database.

Link copied to clipboard
abstract suspend fun createOrUpdateJetpack(firebaseJetpack: FirebaseJetpack)

Creates or updates a FirebaseJetpack object in the database.

Link copied to clipboard
abstract suspend fun deleteJetpack(firebaseJetpack: FirebaseJetpack)

Deletes a FirebaseJetpack object from the database.

Link copied to clipboard
abstract suspend fun pullJetpacks(userId: String, lastSynced: Long): List<FirebaseJetpack>

Pulls a list of FirebaseJetpack objects that have been updated since the last sync.