package eu.friedcutlet.yokan.services.notifications import eu.friedcutlet.yokan.domain.ProfileId enum class NotificationChannel { Downloads, LibraryUpdates, Backup, Sync, } data class NotificationPayload( val channel: NotificationChannel, val title: String, val message: String, val tag: String? = null, val profileId: ProfileId? = null, ) interface NotificationService { fun supported(): Boolean fun requestPermission() = Unit fun notify(payload: NotificationPayload) fun cancel(channel: NotificationChannel, tag: String? = null) } expect fun createPlatformNotificationService(profileId: ProfileId = ProfileId.Default): NotificationService