public enum NSoundType extends Enum<NSoundType> implements com.neurotec.lang.NEnum
| Enum Constant and Description |
|---|
MONO
Mono sound.
|
STEREO
Stereo sound.
|
UNDEFINED
Undefined sound.
|
| Modifier and Type | Method and Description |
|---|---|
static NSoundType |
get(int value)
Gets NSoundType specified by enumeration value.
|
int |
getValue()
Gets the enumeration value of the current object.
|
boolean |
isValid()
Returns true if given sound type is valid; otherwise returns false.
|
static com.neurotec.lang.NType |
nativeTypeOf()
Retrieves the native type for the enclosing class.
|
static NSoundType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NSoundType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NSoundType UNDEFINED
public static final NSoundType MONO
public static final NSoundType STEREO
public static NSoundType[] values()
for (NSoundType c : NSoundType.values()) System.out.println(c);
public static NSoundType 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 NSoundType get(int value)
value - Enumeration value.public int getValue()
getValue in interface com.neurotec.lang.NEnumpublic boolean isValid()
Copyright © 2016 Neurotechnology. All rights reserved.