public enum TransportState extends Enum<TransportState>
Enum Constant and Description |
---|
CUSTOM |
NO_MEDIA_PRESENT |
PAUSED_PLAYBACK |
PAUSED_RECORDING |
PLAYING |
RECORDING |
STOPPED |
TRANSITIONING |
Modifier and Type | Method and Description |
---|---|
String |
getValue() |
TransportState |
setValue(String value) |
static TransportState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransportState |
valueOrCustomOf(String s) |
static TransportState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransportState STOPPED
public static final TransportState PLAYING
public static final TransportState TRANSITIONING
public static final TransportState PAUSED_PLAYBACK
public static final TransportState PAUSED_RECORDING
public static final TransportState RECORDING
public static final TransportState NO_MEDIA_PRESENT
public static final TransportState CUSTOM
public static TransportState[] values()
for (TransportState c : TransportState.values()) System.out.println(c);
public static TransportState 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 String getValue()
public TransportState setValue(String value)
public static TransportState valueOrCustomOf(String s)
Copyright © 2016 4th Line GmbH, Switzerland. All rights reserved.