mirror of
https://github.com/binwiederhier/ntfy-android.git
synced 2024-05-17 11:02:36 +12:00
14 lines
268 B
Kotlin
14 lines
268 B
Kotlin
package io.heckel.ntfy.service
|
|
|
|
interface Connection {
|
|
fun start()
|
|
fun close()
|
|
fun since(): String?
|
|
}
|
|
|
|
data class ConnectionId(
|
|
val baseUrl: String,
|
|
val topicsToSubscriptionIds: Map<String, Long>,
|
|
val topicIsUnifiedPush: Map<String, Boolean>
|
|
)
|