pullJetpacks

abstract suspend fun pullJetpacks(userId: String, syncedAfterNanos: Long): List<FirebaseJetpack>(source)

Queries documents whose FirebaseJetpack.serverUpdatedAt is greater than syncedAfterNanos.

The default SDK source may return cached results. Documents missing serverUpdatedAt are excluded, even with a zero cursor. Hard-deleted documents are absent; this is not a deletion feed.

Return

Matching documents, without snapshot cache/pending-write metadata.

Parameters

userId

Owner document ID, expected to be the Firebase Auth UID.

syncedAfterNanos

Stored server write time in epoch nanoseconds; zero starts at the epoch.

Throws

com.google.firebase.firestore.FirebaseFirestoreException

if the SDK query fails