-
- All Implemented Interfaces:
-
com.glia.androidsdk.comms.Video
public class VideoInternal implements Video
-
-
Constructor Summary
Constructors Constructor Description VideoInternal(Stream videoStream)
-
Method Summary
Modifier and Type Method Description Media.StatusgetStatus()Gets video status, which may be one of Media.Status VideoViewcreateVideoView(Activity activity)Creates a new view that displays the video stream. voidpause()Pauses the visitor camera capturing. voidresume()Resumes the visitor camera capturing. voidsetOnHoldHandler(@NonNull() Consumer<Boolean> listener)Handler used to detect if Visitor stream is put on hold or resumed from being put on hold by Operator. -
-
Constructor Detail
-
VideoInternal
VideoInternal(Stream videoStream)
-
-
Method Detail
-
getStatus
Media.Status getStatus()
Gets video status, which may be one of Media.Status
-
createVideoView
VideoView createVideoView(Activity activity)
Creates a new view that displays the video stream. This method should be called on the Main Thread.
- Parameters:
activity- Activity on which you want to use this video view.
-
pause
void pause()
Pauses the visitor camera capturing.
-
resume
void resume()
Resumes the visitor camera capturing.
-
setOnHoldHandler
void setOnHoldHandler(@NonNull() Consumer<Boolean> listener)
Handler used to detect if Visitor stream is put on hold or resumed from being put on hold by Operator.
-
-
-
-