public enum ImageSourceType extends Enum<ImageSourceType>
| 限定符和类型 | 类和说明 |
|---|---|
static class |
ImageSourceType.Adapter |
| 枚举常量和说明 |
|---|
API |
LOCAL |
MUSE |
QUICK_DRAW |
TCC |
UNSUPPORTED |
VIDEO_SNAPSHOTS |
| 限定符和类型 | 方法和说明 |
|---|---|
static ImageSourceType |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static ImageSourceType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ImageSourceType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final ImageSourceType UNSUPPORTED
public static final ImageSourceType LOCAL
public static final ImageSourceType MUSE
public static final ImageSourceType API
public static final ImageSourceType QUICK_DRAW
public static final ImageSourceType VIDEO_SNAPSHOTS
public static final ImageSourceType TCC
public static ImageSourceType[] values()
for (ImageSourceType c : ImageSourceType.values()) System.out.println(c);
public static ImageSourceType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String getValue()
public String toString()
toString 在类中 Enum<ImageSourceType>public static ImageSourceType fromValue(String text)
Copyright © 2020. All rights reserved.