|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StreamChangeListener
This interface represents a listener an application can set in order to listen for events to do with a stream of interest.
Field Summary | |
---|---|
static int |
STREAM_ACTIVITY_ENDED_REASON
Activity that caused the stream a session was opened for has stopped. |
static int |
STREAM_TYPE_LOST_REASON
The stream type was lost within the transport stream. |
static int |
TRANSPORT_STREAM_LOST_REASON
The transport stream a session was opened for was lost. |
Method Summary | |
---|---|
void |
notifyPIDsChanged(int[] pids)
Notifies a change in the PIDs for the service containing the stream type it is interested in. |
void |
notifyPresentationChanged(boolean presenting)
Notifies the presentation status has changed. |
void |
notifySessionStopped(int reason)
Notifies the handler the implementation had to stop a session. |
Field Detail |
---|
static final int TRANSPORT_STREAM_LOST_REASON
static final int STREAM_TYPE_LOST_REASON
static final int STREAM_ACTIVITY_ENDED_REASON
TRANSPORT_STREAM_LOST_REASON
only. If stream activity ends
for some other reason such as lack of storage the implementation SHALL
generate this reason.
Method Detail |
---|
void notifyPIDsChanged(int[] pids)
pids
- An array of new PID or PIDs with the stream type for
which the application has registered interest. The array SHALL be
ordered from the lowest PID to the highest.void notifyPresentationChanged(boolean presenting)
presenting
- When true this parameter indicates the service
containing the stream type of interest is presenting to one
or more outputs. When false the stream is active as a
background stream with no presentation, e.g. background
recording.void notifySessionStopped(int reason)
LightweightTriggerSession.store()
method was called for
this session the artificial carousel is stored by this method.
reason
- The reason the session was stopped.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |