Package-level declarations

Types

Link copied to clipboard
data class ObjectDetectionStats(val objectName: String = "", val detectionCount: Int = 0)

Read User for more info about Firebase

Link copied to clipboard
data class TopUser(val points: Int = 0)

A type of a document in the FbCollection.TopUsers collection.

Link copied to clipboard
data class User(val name: String = "", val photoUri: String = "", val points: Float = 0.0f, val achievements: List<UserAchievement> = emptyList(), var isLoggedOut: Boolean = false)

A type of a document in the FbCollection.Users collection. The uuid used for this document should be equal to the FirebaseUser.uid which is unique per Firebase project Note: there's no need to convert it to a a Hashmap when adding it to a collection (since Firestore SDK for Kotlin Extensions update). This class just needs to be a data class and have default params in order for implicit deserialization to work at

Link copied to clipboard
data class UserAchievement(val objectName: String = "", val certaintyScore: Float = 0.0f)

Read User for more info about Firebase

Functions

Link copied to clipboard