Package com.unblu.sdk.core.notification
Enum Class UnbluNotificationChannel
- All Implemented Interfaces:
Serializable,Comparable<UnbluNotificationChannel>,Constable
The
Use these values together with
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.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe channel used for incoming call notifications.The channel used for missed call notifications.The channel used for new message notifications.The channel used for the foreground service that keeps a call alive while the app is in the background.The channel used for the foreground service that keeps screen sharing alive while the app is in the background. -
Method Summary
Modifier and TypeMethodDescriptionstatic UnbluNotificationChannelReturns the enum constant of this class with the specified name.static UnbluNotificationChannel[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NEW_MESSAGES
The channel used for new message notifications. -
INCOMING_CALLS
The channel used for incoming call notifications. -
MISSED_CALLS
The channel used for missed call notifications. -
ONGOING_CALL
The channel used for the foreground service that keeps a call alive while the app is in the background. -
SCREEN_SHARING
The channel used for the foreground service that keeps screen sharing alive while the app is in the background.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-