Package com.inmobi.ads.banner
Enum AudioStatus
- java.lang.Object
-
- java.lang.Enum<AudioStatus>
-
- com.inmobi.ads.banner.AudioStatus
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AudioStatus>
public enum AudioStatus extends java.lang.Enum<AudioStatus>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AudioStatus
from(int value)
static int
to(AudioStatus audioStatus)
static AudioStatus
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AudioStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PLAYING
public static final AudioStatus PLAYING
-
PAUSED
public static final AudioStatus PAUSED
-
COMPLETED
public static final AudioStatus COMPLETED
-
-
Method Detail
-
values
public static AudioStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AudioStatus c : AudioStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AudioStatus valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
from
public static AudioStatus from(int value)
-
to
public static int to(AudioStatus audioStatus)
-
-