public enum Platforms extends Enum<Platforms>
| Enum Constant and Description |
|---|
ALL
通用
|
APP
android 和 ios
|
APP_ANDROID
android
|
APP_IOS
ios
|
WECHAT
微信
|
| Modifier and Type | Method and Description |
|---|---|
Platforms |
getPlatforms(int type) |
int |
type() |
static Platforms |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Platforms[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Platforms ALL
public static final Platforms WECHAT
public static final Platforms APP_IOS
public static final Platforms APP_ANDROID
public static final Platforms APP
public static Platforms[] values()
for (Platforms c : Platforms.values()) System.out.println(c);
public static Platforms 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 nullpublic Platforms getPlatforms(int type)
public int type()
Copyright © 2021 Clouds Studio. All rights reserved.