public enum DlcType extends java.lang.Enum<DlcType>
tag
associated with each DlcType is the String that is provided as the first argument
of your ContentProvider's ContentProviderBase.call(java.lang.String, java.lang.String, android.os.Bundle) function when that
type of content is requested.
For types other than INFO and ICON, the associated parse function is provided for convenience.
EXCEPTION is also included to specify the Bundle key that's used to pass an error back to the app.| Enum Constant and Description |
|---|
BACKGROUND
"backgrounds" - Indicates that the requested / returned value is a
BackgroundList |
CLASS
"classes" - Indicates that the requested / returned value is a
ClassList |
CLASS_SPELLS
"class_spells" - Indicates that the requested / returned value is a
ClassSpellsList |
EXCEPTION
"exception" - Indicates that the returned value is an error message String.
|
FEAT
"feats" - Indicates that the requested / returned value is a
FeatList |
IMAGE
"image" - Indicates that the requested / returned value is a
Bitmap |
INFO
"info" - Indicates that the requested / returned value is a
MultiPageInfo |
ITEM
"items" - Indicates that the requested / returned value is a
ItemList |
RACE
"races" - Indicates that the requested / returned value is a
RaceList |
SPELL
"races" - Indicates that the requested / returned value is a
SpellList |
TALENT
"talents" - Indicates that the requested / returned value is a
TalentList |
| Modifier and Type | Method and Description |
|---|---|
static DlcType |
ForTag(java.lang.String tag) |
FunctionX<java.io.InputStream,com.google.protobuf.MessageLite.Builder,java.io.IOException> |
Parser() |
java.lang.String |
Tag() |
static DlcType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DlcType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DlcType BACKGROUND
BackgroundListpublic static final DlcType CLASS_SPELLS
ClassSpellsListpublic static final DlcType CLASS
ClassListpublic static final DlcType FEAT
FeatListpublic static final DlcType ITEM
ItemListpublic static final DlcType RACE
RaceListpublic static final DlcType SPELL
SpellListpublic static final DlcType TALENT
TalentListpublic static final DlcType INFO
MultiPageInfopublic static final DlcType IMAGE
Bitmappublic static final DlcType EXCEPTION
public static DlcType[] values()
for (DlcType c : DlcType.values()) System.out.println(c);
public static DlcType 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 nullpublic java.lang.String Tag()
public FunctionX<java.io.InputStream,com.google.protobuf.MessageLite.Builder,java.io.IOException> Parser()
public static DlcType ForTag(@NonNull java.lang.String tag) throws java.lang.EnumConstantNotPresentException
tag - A String identifying a particular DlcType.Tag function returns the specified tag.java.lang.EnumConstantNotPresentException - If the provided tag does not refer to any DlcType.