|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public static interface INetStream.IListener
IListener - NetStream listener.
| Method Summary | |
|---|---|
void |
onAsyncError(INetStream source,
java.lang.String message,
java.lang.Exception e)
Notifies about an exception that is thrown asynchronously (from native asynchronous code). |
void |
onCuePoint(INetStream source,
java.util.Map<java.lang.String,java.lang.Object> parameters)
Invoked when an embedded cue point is reached while playing an FLV file. |
void |
onIOError(INetStream source,
java.lang.String message)
Notifies about an input/output error occured that causes a network operation to fail. |
void |
onMetaData(INetStream source,
java.util.Map<java.lang.String,java.lang.Object> info)
Notifies when descriptive information embedded in the FLV file being played is received. |
void |
onNetStatus(INetStream source,
java.util.Map<java.lang.String,java.lang.Object> info)
Notifies about the status info change. |
void |
onPlayStatus(INetStream source,
java.util.Map<java.lang.String,java.lang.Object> info)
Notifies that NetStream object has completely played a stream. |
| Method Detail |
|---|
void onAsyncError(INetStream source,
java.lang.String message,
java.lang.Exception e)
Note: This method is invoked in the Dispatch-Thread. Process it quickly.
source - async message sourcemessage - async messagee - thrown exception
void onIOError(INetStream source,
java.lang.String message)
Note: This method is invoked in the Dispatch-Thread. Process it quickly.
source - I/O error sourcemessage - I/O error message
void onNetStatus(INetStream source,
java.util.Map<java.lang.String,java.lang.Object> info)
Note: This method is invoked in the Dispatch-Thread. Process it quickly.
source - net status sourceinfo - status info
void onCuePoint(INetStream source,
java.util.Map<java.lang.String,java.lang.Object> parameters)
Note: This method is invoked in the Dispatch-Thread. Process it quickly.
source - cue-point sourceparameters - associative array of name/value pair strings specified for this cue point
Some parameters:
"name" - name given to the cue point when it was embedded in the FLV file
"time" - time in seconds at which the cue point occurred in the video file during playback
"type" - type of cue point that was reached, either "navigation" or "event"
void onMetaData(INetStream source,
java.util.Map<java.lang.String,java.lang.Object> info)
Note: This method is invoked in the Dispatch-Thread. Process it quickly.
source - meta-data sourceinfo - meta-data info
void onPlayStatus(INetStream source,
java.util.Map<java.lang.String,java.lang.Object> info)
Note: This method is invoked in the Dispatch-Thread. Process it quickly.
source - play-status sourceinfo - play status info
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||