octoshape.osa2.listeners
Interface StatusChangedListener


public interface StatusChangedListener

Listens for StreamPlayer status changes.


Method Summary
 void statusChanged(byte oldStatus, byte newStatus)
          The status of the StreamPlayer changed.
 

Method Detail

statusChanged

void statusChanged(byte oldStatus,
                   byte newStatus)
The status of the StreamPlayer changed.

The status is one of the StreamSuperClass.STATUS_... codes.

Parameters:
oldStatus - the status the StreamPlayer is moving away from.
newStatus - the new status of the StreamPlayer.
See Also:
StreamSuperClass.STATUS_UNINITIALIZED, StreamSuperClass.STATUS_INITIALIZING, StreamSuperClass.STATUS_READY, StreamPlayer.STATUS_PLAY_INITIALIZING, StreamPlayer.STATUS_PLAYING, StreamSuperClass.STATUS_CLOSED