Enum Class UnbluNotificationChannel

java.lang.Object
java.lang.Enum<UnbluNotificationChannel>
com.unblu.sdk.core.notification.UnbluNotificationChannel
All Implemented Interfaces:
Serializable, Comparable<UnbluNotificationChannel>, Constable

public enum UnbluNotificationChannel extends Enum<UnbluNotificationChannel>
The NotificationChannels the Unblu SDK creates.
Use these values together with UnbluNotificationChannelConfiguration to give the channels names and descriptions of your own, for example localized ones.
  • Enum Constant Details

    • NEW_MESSAGES

      public static final UnbluNotificationChannel NEW_MESSAGES
      The channel used for new message notifications.
    • INCOMING_CALLS

      public static final UnbluNotificationChannel INCOMING_CALLS
      The channel used for incoming call notifications.
    • MISSED_CALLS

      public static final UnbluNotificationChannel MISSED_CALLS
      The channel used for missed call notifications.
    • ONGOING_CALL

      public static final UnbluNotificationChannel ONGOING_CALL
      The channel used for the foreground service that keeps a call alive while the app is in the background.
    • SCREEN_SHARING

      public static final UnbluNotificationChannel SCREEN_SHARING
      The channel used for the foreground service that keeps screen sharing alive while the app is in the background.
  • Method Details

    • values

      public static UnbluNotificationChannel[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static UnbluNotificationChannel valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null