|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.smaxe.uv.client.INetStream.ListenerAdapter
public static class INetStream.ListenerAdapter
ListenerAdapter - INetStream.IListener adapter.
| Constructor Summary | |
|---|---|
INetStream.ListenerAdapter()
Constructor. |
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public INetStream.ListenerAdapter()
| Method Detail |
|---|
public void onAsyncError(INetStream source,
java.lang.String message,
java.lang.Exception e)
INetStream.IListenerNote: This method is invoked in the Dispatch-Thread. Process it quickly.
onAsyncError in interface INetStream.IListenersource - async message sourcemessage - async messagee - thrown exception
public void onCuePoint(INetStream source,
java.util.Map<java.lang.String,java.lang.Object> parameters)
INetStream.IListenerNote: This method is invoked in the Dispatch-Thread. Process it quickly.
onCuePoint in interface INetStream.IListenersource - 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"
public void onIOError(INetStream source,
java.lang.String message)
INetStream.IListenerNote: This method is invoked in the Dispatch-Thread. Process it quickly.
onIOError in interface INetStream.IListenersource - I/O error sourcemessage - I/O error message
public void onMetaData(INetStream source,
java.util.Map<java.lang.String,java.lang.Object> info)
INetStream.IListenerNote: This method is invoked in the Dispatch-Thread. Process it quickly.
onMetaData in interface INetStream.IListenersource - meta-data sourceinfo - meta-data info
public void onNetStatus(INetStream source,
java.util.Map<java.lang.String,java.lang.Object> info)
INetStream.IListenerNote: This method is invoked in the Dispatch-Thread. Process it quickly.
onNetStatus in interface INetStream.IListenersource - net status sourceinfo - status info
public void onPlayStatus(INetStream source,
java.util.Map<java.lang.String,java.lang.Object> info)
INetStream.IListenerNote: This method is invoked in the Dispatch-Thread. Process it quickly.
onPlayStatus in interface INetStream.IListenersource - play-status sourceinfo - play status info
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||