MeiCam SDK For Android  3.14.0
Public Member Functions | List of all members
com.meicam.sdk.NvsStreamingContext.CaptureDeviceCallback Interface Reference

Capture device callback interface. More...

Public Member Functions

void onCaptureDeviceCapsReady (int captureDeviceIndex)
 Capture device preview is ready. More...
 
void onCaptureDevicePreviewResolutionReady (int captureDeviceIndex)
 Capture device preview resolution is ready. More...
 
void onCaptureDevicePreviewStarted (int captureDeviceIndex)
 Capture device preview is started. More...
 
void onCaptureDeviceError (int captureDeviceIndex, int errorCode)
 Capture device error. More...
 
void onCaptureDeviceStopped (int captureDeviceIndex)
 Capture device stopped. More...
 
void onCaptureDeviceAutoFocusComplete (int captureDeviceIndex, boolean succeeded)
 Autofocus of capture device is completed. More...
 
void onCaptureRecordingFinished (int captureDeviceIndex)
 Capture recording is finished. More...
 
void onCaptureRecordingError (int captureDeviceIndex)
 Capture recording failed. More...
 

Detailed Description

Capture device callback interface.

Member Function Documentation

◆ onCaptureDeviceAutoFocusComplete()

void com.meicam.sdk.NvsStreamingContext.CaptureDeviceCallback.onCaptureDeviceAutoFocusComplete ( int  captureDeviceIndex,
boolean  succeeded 
)

Autofocus of capture device is completed.

Parameters
captureDeviceIndexThe index of capture device.
succeededIf autofocus is completed.

◆ onCaptureDeviceCapsReady()

void com.meicam.sdk.NvsStreamingContext.CaptureDeviceCallback.onCaptureDeviceCapsReady ( int  captureDeviceIndex)

Capture device preview is ready.

Parameters
captureDeviceIndexThe index of capture device.

◆ onCaptureDeviceError()

void com.meicam.sdk.NvsStreamingContext.CaptureDeviceCallback.onCaptureDeviceError ( int  captureDeviceIndex,
int  errorCode 
)

Capture device error.

Parameters
captureDeviceIndexThe index of capture device.
errorCodeThe code of the error, refer to capture device error.

◆ onCaptureDevicePreviewResolutionReady()

void com.meicam.sdk.NvsStreamingContext.CaptureDeviceCallback.onCaptureDevicePreviewResolutionReady ( int  captureDeviceIndex)

Capture device preview resolution is ready.

Parameters
captureDeviceIndexThe index of capture device.

◆ onCaptureDevicePreviewStarted()

void com.meicam.sdk.NvsStreamingContext.CaptureDeviceCallback.onCaptureDevicePreviewStarted ( int  captureDeviceIndex)

Capture device preview is started.

Parameters
captureDeviceIndexThe index of capture device.

◆ onCaptureDeviceStopped()

void com.meicam.sdk.NvsStreamingContext.CaptureDeviceCallback.onCaptureDeviceStopped ( int  captureDeviceIndex)

Capture device stopped.

Parameters
captureDeviceIndexThe index of capture device.

◆ onCaptureRecordingError()

void com.meicam.sdk.NvsStreamingContext.CaptureDeviceCallback.onCaptureRecordingError ( int  captureDeviceIndex)

Capture recording failed.

Parameters
captureDeviceIndexThe index of capture device.

◆ onCaptureRecordingFinished()

void com.meicam.sdk.NvsStreamingContext.CaptureDeviceCallback.onCaptureRecordingFinished ( int  captureDeviceIndex)

Capture recording is finished.

Parameters
captureDeviceIndexThe index of capture device.

The documentation for this interface was generated from the following file: