public class CameraAdapter
extends java.lang.Object
Constructor and Description |
---|
CameraAdapter(android.content.Context context,
java.lang.String cameraId) |
Modifier and Type | Method and Description |
---|---|
void |
closeCamera() |
void |
openCamera(AndroidCameraMediaSource.OpenCameraCallback cameraOpenCameraCallback) |
void |
startPreview(java.util.List<android.view.Surface> previewSurfaces,
AndroidCameraMediaSource.CaptureCallback captureCallback) |
public CameraAdapter(android.content.Context context, java.lang.String cameraId)
public void openCamera(AndroidCameraMediaSource.OpenCameraCallback cameraOpenCameraCallback)
public void closeCamera()
public void startPreview(java.util.List<android.view.Surface> previewSurfaces, AndroidCameraMediaSource.CaptureCallback captureCallback)
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.