mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +00:00
Cleanup store.
This commit is contained in:
committed by
Benoit Marty
parent
20370656cd
commit
dd71517abe
+8
-3
@@ -21,12 +21,17 @@ package io.element.android.libraries.pushstore.api
|
||||
*/
|
||||
interface UserPushStore {
|
||||
suspend fun getPushProviderName(): String?
|
||||
|
||||
suspend fun setPushProviderName(value: String)
|
||||
|
||||
suspend fun getCurrentRegisteredPushKey(): String?
|
||||
|
||||
suspend fun setCurrentRegisteredPushKey(value: String)
|
||||
|
||||
suspend fun areNotificationEnabledForDevice(): Boolean
|
||||
suspend fun setNotificationEnabledForDevice(enabled: Boolean)
|
||||
|
||||
/**
|
||||
* Return true if Pin code is disabled, or if user set the settings to see full notification content.
|
||||
*/
|
||||
fun useCompleteNotificationFormat(): Boolean
|
||||
|
||||
suspend fun reset()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user