public static enum NetworkNotificationManager.NotificationType extends Enum<NetworkNotificationManager.NotificationType>
Enum Constant and Description |
---|
LOST_INTERNET |
NETWORK_SWITCH |
NO_INTERNET |
SIGN_IN |
Modifier and Type | Method and Description |
---|---|
static NetworkNotificationManager.NotificationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NetworkNotificationManager.NotificationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NetworkNotificationManager.NotificationType SIGN_IN
public static final NetworkNotificationManager.NotificationType NO_INTERNET
public static final NetworkNotificationManager.NotificationType LOST_INTERNET
public static final NetworkNotificationManager.NotificationType NETWORK_SWITCH
public static NetworkNotificationManager.NotificationType[] values()
for (NetworkNotificationManager.NotificationType c : NetworkNotificationManager.NotificationType.values()) System.out.println(c);
public static NetworkNotificationManager.NotificationType 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 null