public static enum PbImage.SrcType extends Enum<PbImage.SrcType>
| Modifier and Type | Method and Description |
|---|---|
static PbImage.SrcType |
fromValue(String value) |
String |
toString() |
String |
value() |
static PbImage.SrcType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PbImage.SrcType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PbImage.SrcType URL
public static final PbImage.SrcType ASSET
public static PbImage.SrcType[] values()
for (PbImage.SrcType c : PbImage.SrcType.values()) System.out.println(c);
public static PbImage.SrcType 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 String toString()
toString in class Enum<PbImage.SrcType>public String value()
public static PbImage.SrcType fromValue(String value)
Copyright © 2020. All rights reserved.