com.bff.music.event
Class MusicPlayerStatusChangedEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.bff.music.event.MusicPlayerStatusChangedEvent
All Implemented Interfaces:
java.io.Serializable

public class MusicPlayerStatusChangedEvent
extends java.util.EventObject

Represents a change in the status of a music player.

See Also:
Serialized Form

Field Summary
protected  int id
           
protected  java.lang.String msg
           
static int PLAYER_BITRATE_CHANGE
           
static int PLAYER_CONNECTED
           
static int PLAYER_DISCONNECTED
           
static int PLAYER_END_OF_SONG
           
static int PLAYER_ERROR
           
static int PLAYER_MUTED
           
static int PLAYER_NEXT
           
static int PLAYER_PAUSED
           
static int PLAYER_PREVIOUS
           
static int PLAYER_SEEKED
           
static int PLAYER_SEEKING
           
static int PLAYER_SONG_SET
           
static int PLAYER_STARTED
           
static int PLAYER_STOPPED
           
static int PLAYER_UNMUTED
           
static int PLAYER_UNPAUSED
           
static int PLAYER_UPDATED
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
MusicPlayerStatusChangedEvent(java.lang.Object source, int id)
          Creates a new instance of MusicPlayerStatusChangedEvent
MusicPlayerStatusChangedEvent(java.lang.Object source, int id, java.lang.String msg)
           
 
Method Summary
 int getId()
           
 java.lang.String getMsg()
           
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

id

protected int id

msg

protected java.lang.String msg

PLAYER_STOPPED

public static final int PLAYER_STOPPED
See Also:
Constant Field Values

PLAYER_STARTED

public static final int PLAYER_STARTED
See Also:
Constant Field Values

PLAYER_PAUSED

public static final int PLAYER_PAUSED
See Also:
Constant Field Values

PLAYER_NEXT

public static final int PLAYER_NEXT
See Also:
Constant Field Values

PLAYER_PREVIOUS

public static final int PLAYER_PREVIOUS
See Also:
Constant Field Values

PLAYER_MUTED

public static final int PLAYER_MUTED
See Also:
Constant Field Values

PLAYER_UNMUTED

public static final int PLAYER_UNMUTED
See Also:
Constant Field Values

PLAYER_DISCONNECTED

public static final int PLAYER_DISCONNECTED
See Also:
Constant Field Values

PLAYER_CONNECTED

public static final int PLAYER_CONNECTED
See Also:
Constant Field Values

PLAYER_SONG_SET

public static final int PLAYER_SONG_SET
See Also:
Constant Field Values

PLAYER_UNPAUSED

public static final int PLAYER_UNPAUSED
See Also:
Constant Field Values

PLAYER_SEEKING

public static final int PLAYER_SEEKING
See Also:
Constant Field Values

PLAYER_SEEKED

public static final int PLAYER_SEEKED
See Also:
Constant Field Values

PLAYER_END_OF_SONG

public static final int PLAYER_END_OF_SONG
See Also:
Constant Field Values

PLAYER_ERROR

public static final int PLAYER_ERROR
See Also:
Constant Field Values

PLAYER_BITRATE_CHANGE

public static final int PLAYER_BITRATE_CHANGE
See Also:
Constant Field Values

PLAYER_UPDATED

public static final int PLAYER_UPDATED
See Also:
Constant Field Values
Constructor Detail

MusicPlayerStatusChangedEvent

public MusicPlayerStatusChangedEvent(java.lang.Object source,
                                     int id)
Creates a new instance of MusicPlayerStatusChangedEvent


MusicPlayerStatusChangedEvent

public MusicPlayerStatusChangedEvent(java.lang.Object source,
                                     int id,
                                     java.lang.String msg)
Method Detail

getId

public int getId()

getMsg

public java.lang.String getMsg()