Add a db query to get all the Sessions.
This commit is contained in:
parent
2135d75712
commit
70de1bd6a0
5 changed files with 16 additions and 1 deletions
|
|
@ -22,6 +22,7 @@ interface SessionStore {
|
|||
fun isLoggedIn(): Flow<Boolean>
|
||||
suspend fun storeData(sessionData: SessionData)
|
||||
suspend fun getSession(sessionId: String): SessionData?
|
||||
suspend fun getAllSessions(): List<SessionData>
|
||||
suspend fun getLatestSession(): SessionData?
|
||||
suspend fun removeSession(sessionId: String)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue