public enum ServiceName extends Enum<ServiceName>
| Enum Constant and Description |
|---|
BACKGROUND_FETCH |
BACKGROUND_SYNC |
NOTIFICATIONS |
PAYMENT_HANDLER |
PERIODIC_BACKGROUND_SYNC |
PUSH_MESSAGING |
| Modifier and Type | Method and Description |
|---|---|
static ServiceName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServiceName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServiceName BACKGROUND_FETCH
public static final ServiceName BACKGROUND_SYNC
public static final ServiceName PUSH_MESSAGING
public static final ServiceName NOTIFICATIONS
public static final ServiceName PAYMENT_HANDLER
public static final ServiceName PERIODIC_BACKGROUND_SYNC
public static ServiceName[] values()
for (ServiceName c : ServiceName.values()) System.out.println(c);
public static ServiceName 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 © 2020. All rights reserved.