All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.com.estiven.firebase_firestore.DocumentReference.kt Maven / Gradle / Ivy

Go to download

FirebaseKMM is a Firebase Extension that supports cross-platform projects also based on Firebase Kotlin SDK, allowing you to directly from iOS and Android.

There is a newer version: 0.7.15
Show newest version
package com.estiven.firebase_firestore

import kotlinx.coroutines.flow.Flow

expect class DocumentReference {
    val id: String
    val parent: CollectionReference
    val path: String
    val snapshotListener: Flow
    val firestore: FirebaseFirestore
    suspend fun delete()
    suspend fun set(data: Any)
    suspend fun update(data: MutableMap)
    suspend fun get(): DocumentSnapshot
    suspend fun get(source: Source): DocumentSnapshot
    fun collection(collectionPath: String): CollectionReference
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy