public static enum SrnRichNotification.AlertType extends Enum<SrnRichNotification.AlertType>
Note : the wearable device setting has priority.
Enum Constant and Description |
---|
SILENCE
Without vibration and sound.
|
SOUND
With sound but no vibration.
|
SOUND_AND_VIBRATION
With vibration and sound.
|
VIBRATION
With vibration but no sound.
|
Modifier and Type | Method and Description |
---|---|
static SrnRichNotification.AlertType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SrnRichNotification.AlertType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SrnRichNotification.AlertType SILENCE
public static final SrnRichNotification.AlertType VIBRATION
public static final SrnRichNotification.AlertType SOUND
public static final SrnRichNotification.AlertType SOUND_AND_VIBRATION
public static SrnRichNotification.AlertType[] values()
for (SrnRichNotification.AlertType c : SrnRichNotification.AlertType.values()) System.out.println(c);
public static SrnRichNotification.AlertType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright © Samsung Electronics, Co., Ltd. All rights reserved.