public class ICameraDeviceUserWrapper extends Object
Constructor and Description |
---|
ICameraDeviceUserWrapper(ICameraDeviceUser remoteDevice) |
Modifier and Type | Method and Description |
---|---|
void |
beginConfigure() |
long |
cancelRequest(int requestId) |
CameraMetadataNative |
createDefaultRequest(int templateId) |
int |
createInputStream(int width,
int height,
int format) |
int |
createStream(OutputConfiguration outputConfiguration) |
void |
deleteStream(int streamId) |
void |
disconnect() |
void |
endConfigure(boolean isConstrainedHighSpeed) |
long |
flush() |
CameraMetadataNative |
getCameraInfo() |
Surface |
getInputSurface() |
void |
prepare(int streamId) |
void |
prepare2(int maxCount,
int streamId) |
void |
setDeferredConfiguration(int streamId,
OutputConfiguration deferredConfig) |
SubmitInfo |
submitRequest(CaptureRequest request,
boolean streaming) |
SubmitInfo |
submitRequestList(CaptureRequest[] requestList,
boolean streaming) |
void |
tearDown(int streamId) |
void |
unlinkToDeath(IBinder.DeathRecipient recipient,
int flags) |
void |
waitUntilIdle() |
public ICameraDeviceUserWrapper(ICameraDeviceUser remoteDevice)
public void unlinkToDeath(IBinder.DeathRecipient recipient, int flags)
public void disconnect()
public SubmitInfo submitRequest(CaptureRequest request, boolean streaming) throws CameraAccessException
CameraAccessException
public SubmitInfo submitRequestList(CaptureRequest[] requestList, boolean streaming) throws CameraAccessException
CameraAccessException
public long cancelRequest(int requestId) throws CameraAccessException
CameraAccessException
public void beginConfigure() throws CameraAccessException
CameraAccessException
public void endConfigure(boolean isConstrainedHighSpeed) throws CameraAccessException
CameraAccessException
public void deleteStream(int streamId) throws CameraAccessException
CameraAccessException
public int createStream(OutputConfiguration outputConfiguration) throws CameraAccessException
CameraAccessException
public int createInputStream(int width, int height, int format) throws CameraAccessException
CameraAccessException
public Surface getInputSurface() throws CameraAccessException
CameraAccessException
public CameraMetadataNative createDefaultRequest(int templateId) throws CameraAccessException
CameraAccessException
public CameraMetadataNative getCameraInfo() throws CameraAccessException
CameraAccessException
public void waitUntilIdle() throws CameraAccessException
CameraAccessException
public long flush() throws CameraAccessException
CameraAccessException
public void prepare(int streamId) throws CameraAccessException
CameraAccessException
public void tearDown(int streamId) throws CameraAccessException
CameraAccessException
public void prepare2(int maxCount, int streamId) throws CameraAccessException
CameraAccessException
public void setDeferredConfiguration(int streamId, OutputConfiguration deferredConfig) throws CameraAccessException
CameraAccessException