What types of events can I monitor with a PlayerListener?
John Zukowski Just look at the constants in the interface:
Posted when the Player enters into a buffering mode.
Posted when the Player leaves the buffering mode.
Posted when a Player is closed.
Posted when the system or another higher priority application has released an exclusive device which is now available to the Player.
Posted when the system or another higher priority application has temporarily taken control of an exclusive device which was previously available to the Player.
Posted when the duration of a Player is updated.
Posted when a Player has reached the end of the media.
Posted when an error had occurred.
Posted when an error occurs during the recording.
Posted when recording is started.
Posted when recording is stopped.
Posted when the size of the video is changed either because the source video size or the display size is changed.
Posted when a Player is started.
Posted when a Player stops in response to the stop method call.
Posted when a Player is stopped as responding to the setStopTime call using the StopTimeControl.
Posted when the volume of an audio device is changed.
static java.lang.String BUFFERING_STARTED
static java.lang.String BUFFERING_STOPPED
static java.lang.String CLOSED
static java.lang.String DEVICE_AVAILABLE
static java.lang.String DEVICE_UNAVAILABLE
static java.lang.String DURATION_UPDATED
static java.lang.String END_OF_MEDIA
static java.lang.String ERROR
static java.lang.String RECORD_ERROR
static java.lang.String RECORD_STARTED
static java.lang.String RECORD_STOPPED
static java.lang.String SIZE_CHANGED
static java.lang.String STARTED
static java.lang.String STOPPED
static java.lang.String STOPPED_AT_TIME
static java.lang.String VOLUME_CHANGED