public static interface Camera2Capturer.Listener
Camera2Capturer
.Modifier and Type | Method and Description |
---|---|
void |
onCameraSwitched(String newCameraId)
Notifies when a camera switch is complete.
|
void |
onError(Camera2Capturer.Exception camera2CapturerException)
Reports an error that occurred in
Camera2Capturer . |
void |
onFirstFrameAvailable()
Indicates when the first frame has been captured from the camera.
|
void onFirstFrameAvailable()
void onCameraSwitched(String newCameraId)
newCameraId
- the camera ID after camera switch is complete.void onError(Camera2Capturer.Exception camera2CapturerException)
Camera2Capturer
.camera2CapturerException
- the code that describes the error that occurred.5.13.0