public enum MediaStatus extends Enum<MediaStatus>
| Enum Constant and Description |
|---|
BANNED
The banned status of media.
|
NORMAL
The normal status of media.
|
| Modifier and Type | Method and Description |
|---|---|
static MediaStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MediaStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MediaStatus NORMAL
public static final MediaStatus BANNED
public static MediaStatus[] values()
for (MediaStatus c : MediaStatus.values()) System.out.println(c);
public static MediaStatus 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 nullCopyright © 2021. All rights reserved.