public class BasicPlayerEvent extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
EOM |
static int |
GAIN |
static int |
OPENED |
static int |
OPENING |
static int |
PAN |
static int |
PAUSED |
static int |
PLAYING |
static int |
RESUMED |
static int |
SEEKED |
static int |
SEEKING |
static int |
STOPPED |
static int |
UNKNOWN |
| Constructor and Description |
|---|
BasicPlayerEvent(Object source,
int code,
int position,
double value,
Object desc)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCode()
Return code of the event triggered.
|
Object |
getDescription()
Return description.
|
int |
getPosition()
Return position in the stream when event occured.
|
Object |
getSource() |
double |
getValue()
Return value related to event triggered.
|
String |
toString() |
public static final int UNKNOWN
public static final int OPENING
public static final int OPENED
public static final int PLAYING
public static final int STOPPED
public static final int PAUSED
public static final int RESUMED
public static final int SEEKING
public static final int SEEKED
public static final int EOM
public static final int PAN
public static final int GAIN
public int getCode()
public int getPosition()
public double getValue()
public Object getDescription()
public Object getSource()
Copyright © 2016. All Rights Reserved.