public class PlaybackVideo extends LiveVideo
CAMERA_ID_PROPERTY, FPS_PROPERTY, VIDEO_PROPERTIES
Constructor and Description |
---|
PlaybackVideo(XPMobileSDK connection,
VideoReceiver receiver,
java.util.HashMap<java.lang.String,java.lang.Object> requestParams)
Constructs a new PlaybackVideo object instance.
|
Modifier and Type | Method and Description |
---|---|
void |
Pause()
Pauses the playback stream.
|
void |
PlayBackward()
Playback stream continuous in backward direction.
|
void |
PlayForward()
Playback stream continuous in forward direction.
|
ErrorState |
requestVideo()
Requests a video from the Mobile server and if the request is successfully executed then it sets the value for the videoId variable.
|
public PlaybackVideo(XPMobileSDK connection, VideoReceiver receiver, java.util.HashMap<java.lang.String,java.lang.Object> requestParams)
connection
- the connection to the Mobile server.receiver
- the object that implements VideoReceiver interface and will receive the Frames from the Mobile server.requestParams
- the parameters that will be included when the request is created.public ErrorState requestVideo()
requestVideo
in class LiveVideo
public void PlayForward()
public void PlayBackward()
public void Pause()