Capture device callback interface.
More...
Capture device callback interface.
◆ onCaptureDeviceAutoFocusComplete()
void com.meicam.sdk.NvsStreamingContext.CaptureDeviceCallback.onCaptureDeviceAutoFocusComplete |
( |
int |
captureDeviceIndex, |
|
|
boolean |
succeeded |
|
) |
| |
Autofocus of capture device is completed.
- Parameters
-
captureDeviceIndex | The index of capture device. |
succeeded | If autofocus is completed. |
◆ onCaptureDeviceCapsReady()
void com.meicam.sdk.NvsStreamingContext.CaptureDeviceCallback.onCaptureDeviceCapsReady |
( |
int |
captureDeviceIndex | ) |
|
Capture device preview is ready.
- Parameters
-
captureDeviceIndex | The index of capture device. |
◆ onCaptureDeviceError()
void com.meicam.sdk.NvsStreamingContext.CaptureDeviceCallback.onCaptureDeviceError |
( |
int |
captureDeviceIndex, |
|
|
int |
errorCode |
|
) |
| |
Capture device error.
- Parameters
-
captureDeviceIndex | The index of capture device. |
errorCode | The 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
-
captureDeviceIndex | The index of capture device. |
◆ onCaptureDevicePreviewStarted()
void com.meicam.sdk.NvsStreamingContext.CaptureDeviceCallback.onCaptureDevicePreviewStarted |
( |
int |
captureDeviceIndex | ) |
|
Capture device preview is started.
- Parameters
-
captureDeviceIndex | The index of capture device. |
◆ onCaptureDeviceStopped()
void com.meicam.sdk.NvsStreamingContext.CaptureDeviceCallback.onCaptureDeviceStopped |
( |
int |
captureDeviceIndex | ) |
|
Capture device stopped.
- Parameters
-
captureDeviceIndex | The index of capture device. |
◆ onCaptureRecordingError()
void com.meicam.sdk.NvsStreamingContext.CaptureDeviceCallback.onCaptureRecordingError |
( |
int |
captureDeviceIndex | ) |
|
Capture recording failed.
- Parameters
-
captureDeviceIndex | The index of capture device. |
◆ onCaptureRecordingFinished()
void com.meicam.sdk.NvsStreamingContext.CaptureDeviceCallback.onCaptureRecordingFinished |
( |
int |
captureDeviceIndex | ) |
|
Capture recording is finished.
- Parameters
-
captureDeviceIndex | The index of capture device. |
The documentation for this interface was generated from the following file: