FileDocCategorySizeDatePackage
ICameraDeviceUser.javaAPI DocAndroid 5.1 API17214Sat Mar 14 05:48:02 GMT 2015android.hardware.camera2

ICameraDeviceUser

public interface ICameraDeviceUser implements android.os.IInterface
hide

Fields Summary
Constructors Summary
Methods Summary
public intbeginConfigure()
Begin the device configuration.

beginConfigure must be called before any call to deleteStream, createStream, or endConfigure. It is not valid to call this when the device is not idle.

public intcancelRequest(int requestId, android.hardware.camera2.utils.LongParcelable lastFrameNumber)

public intcreateDefaultRequest(int templateId, android.hardware.camera2.impl.CameraMetadataNative request)

public intcreateStream(int width, int height, int format, android.view.Surface surface)

public intdeleteStream(int streamId)

public voiddisconnect()
Keep up-to-date with frameworks/av/include/camera/camera2/ICameraDeviceUser.h and frameworks/base/core/java/android/hardware/camera2/legacy/CameraDeviceUserShim.java

public intendConfigure()
End the device configuration.

endConfigure must be called after stream configuration is complete (i.e. after a call to beginConfigure and subsequent createStream/deleteStream calls). This must be called before any requests can be submitted.

public intflush(android.hardware.camera2.utils.LongParcelable lastFrameNumber)

public intgetCameraInfo(android.hardware.camera2.impl.CameraMetadataNative info)

public intsubmitRequest(android.hardware.camera2.CaptureRequest request, boolean streaming, android.hardware.camera2.utils.LongParcelable lastFrameNumber)

public intsubmitRequestList(java.util.List requestList, boolean streaming, android.hardware.camera2.utils.LongParcelable lastFrameNumber)

public intwaitUntilIdle()