public static enum PushNotificationData.ServiceType extends java.lang.Enum<PushNotificationData.ServiceType>
Enum Constant and Description |
---|
Firebase
Служба Firebase, входит состав Google Services.
|
HMS
Служба Huawei Messaging Service для работы с пушами на устройствах Huawei
|
Modifier and Type | Method and Description |
---|---|
static PushNotificationData.ServiceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PushNotificationData.ServiceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PushNotificationData.ServiceType Firebase
public static final PushNotificationData.ServiceType HMS
public static PushNotificationData.ServiceType[] values()
for (PushNotificationData.ServiceType c : PushNotificationData.ServiceType.values()) System.out.println(c);
public static PushNotificationData.ServiceType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null