public enum PushWay extends Enum<PushWay>
| 枚举常量和说明 |
|---|
Message
The message will be handled within the application.
|
Notification
The message will be shown on the device notification bar
|
public static final PushWay Notification
public static final PushWay Message
public static PushWay[] values()
for (PushWay c : PushWay.values()) System.out.println(c);
public static PushWay valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2016. All rights reserved.