1 package expo.modules.notifications.notifications.interfaces; 2 3 import android.os.Build; 4 import android.os.Parcelable; 5 6 import androidx.annotation.Nullable; 7 import androidx.annotation.RequiresApi; 8 9 /** 10 * An interface specifying source of the notification, to be implemented 11 * by concrete classes. 12 */ 13 public interface NotificationTrigger extends Parcelable { 14 @Nullable 15 @RequiresApi(api = Build.VERSION_CODES.O) getNotificationChannel()16 default String getNotificationChannel() { 17 return null; 18 } 19 } 20