NotificationType.kt
TLDR
This file defines an enum class called NotificationType
in the leakcanary.internal
package. The enum class has two constants, LEAKCANARY_LOW
and LEAKCANARY_MAX
, which represent different notification types with their associated name resource ID and importance level.
Classes
No classes in this file.
Methods
No methods in this file.
package leakcanary.internal
import com.squareup.leakcanary.core.R
internal enum class NotificationType(
val nameResId: Int,
val importance: Int
) {
LEAKCANARY_LOW(
R.string.leak_canary_notification_channel_low, IMPORTANCE_LOW
),
LEAKCANARY_MAX(
R.string.leak_canary_notification_channel_result, IMPORTANCE_MAX
);
}
private const val IMPORTANCE_LOW = 2
private const val IMPORTANCE_MAX = 5