e-ntfy-android/app/src/main/java/io/heckel/ntfy/msg/NotificationDispatcher.kt

32 lines
938 B
Kotlin
Raw Normal View History

2021-12-29 20:33:17 +01:00
package io.heckel.ntfy.msg
import android.app.NotificationChannel
import android.app.NotificationManager
import android.app.PendingIntent
import android.app.TaskStackBuilder
import android.content.Context
import android.content.Intent
import android.media.RingtoneManager
import android.os.Build
import android.util.Log
import androidx.annotation.RequiresApi
import androidx.core.app.NotificationCompat
import androidx.core.content.ContextCompat
import io.heckel.ntfy.R
import io.heckel.ntfy.data.Notification
import io.heckel.ntfy.data.Subscription
import io.heckel.ntfy.ui.DetailActivity
import io.heckel.ntfy.ui.MainActivity
import io.heckel.ntfy.util.formatMessage
import io.heckel.ntfy.util.formatTitle
class NotificationDispatcher(val context: Context) {
fun dispatch(subscription: Subscription, notification: Notification) {
}
companion object {
private const val TAG = "NtfyNotificationDispatcher"
}
}