public enum NMediaState extends Enum<NMediaState> implements com.neurotec.lang.NEnum
| Enum Constant and Description |
|---|
PAUSED
Media is paused.
|
RUNNING
Media is running.
|
STOPPED
Media is stopped.
|
| Modifier and Type | Method and Description |
|---|---|
static NMediaState |
get(int value)
Gets NMediaState specified by enumeration value.
|
int |
getValue()
Gets the enumeration value of the current object.
|
static com.neurotec.lang.NType |
nativeTypeOf()
Retrieves the native type for the enclosing class.
|
static NMediaState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NMediaState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NMediaState STOPPED
public static final NMediaState PAUSED
public static final NMediaState RUNNING
public static NMediaState[] values()
for (NMediaState c : NMediaState.values()) System.out.println(c);
public static NMediaState 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 static com.neurotec.lang.NType nativeTypeOf()
public static NMediaState get(int value)
value - Enumeration value.public int getValue()
getValue in interface com.neurotec.lang.NEnumCopyright © 2016 Neurotechnology. All rights reserved.