This is to take snapshot of a video stream in your application. The image from the video stream will be captured and returned as Bitmap Image to the Callback..

Observer: EnxPlayer.setScreenShotObserver

Method: public void captureScreenShot(EnxScreenShotObserver enxScreenShotObserver)

Callbacks:

  • OnCapturedView– Receives Bitmap Image’

//Set observer
enxPlayer.setScreenShotObserver(this)

//Capture Snapshot
enxPlayer.captureScreenShot(this);

//Snapshot captured.
public void OnCapturedView(Bitmap bitmap);
// bitmap is the Bitmap Image