Enum NoDisturbTimeLevel
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum NoDisturbTimeLevel extends Enum<NoDisturbTimeLevel>
Do-not-disturb time level.
Used for configuring the message notification strategy during do-not-disturb time periods.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classNoDisturbTimeLevel.Companion
-
Enum Constant Summary
Enum Constants Enum Constant Description DEFAULTNot set (falls back to the group or app-level setting).
MENTIONOnly @mention messages trigger notifications.
In group/community channels, only @mention messages are notified. In direct channels, this means no message notifications.
MUTEDAll message notifications are blocked (no notifications will be received).
-
Method Summary
Modifier and Type Method Description final NoDisturbTimeLevelvalueOf(String value)Returns the enum constant of this type with the specified name. final Array<NoDisturbTimeLevel>values()Returns an array containing the constants of this enum type, in the order they're declared. final IntegergetValue()-
-
Method Detail
-
valueOf
final NoDisturbTimeLevel valueOf(String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
- Parameters:
value- Level integer value
-
values
final Array<NoDisturbTimeLevel> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
getValue
final Integer getValue()
-
-
-
-