public enum TransportAction extends Enum<TransportAction>
Enum Constant and Description |
---|
Next |
Pause |
Play |
Previous |
Record |
Seek |
Stop |
Modifier and Type | Method and Description |
---|---|
static TransportAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransportAction[] |
valueOfCommaSeparatedList(String s) |
static TransportAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransportAction Play
public static final TransportAction Stop
public static final TransportAction Pause
public static final TransportAction Seek
public static final TransportAction Next
public static final TransportAction Previous
public static final TransportAction Record
public static TransportAction[] values()
for (TransportAction c : TransportAction.values()) System.out.println(c);
public static TransportAction 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 TransportAction[] valueOfCommaSeparatedList(String s)
Copyright © 2016 4th Line GmbH, Switzerland. All rights reserved.