mainSheet
CameraAPI2
  CameraCaptureSession
    abortCaptures()
    close()
    getDevice()
    getInputSurface()
    isReprocessable()
    prepare(Surface surface)
    stopRepeating()
    captureBurst(List<CaptureRequest> requests, CameraCaptureSession.CaptureCallback listener, Handler handler)
    capture(CaptureRequest request, CameraCaptureSession.CaptureCallback listener, Handler handler)
    setRepeatingBurst(List<CaptureRequest> requests, CameraCaptureSession.CaptureCallback listener, Handler handler)
    setRepeatingRequest(CaptureRequest request, CameraCaptureSession.CaptureCallback listener, Handler handler)
    CaptureCallback
      onCaptureBufferLost(CameraCaptureSession session, CaptureRequest request, Surface target, long frameNumber)
      onCaptureCompleted(CameraCaptureSession session, CaptureRequest request, TotalCaptureResult result)
      onCaptureFailed(CameraCaptureSession session, CaptureRequest request, CaptureFailure failure)
      onCaptureProgressed(CameraCaptureSession session, CaptureRequest request, CaptureResult partialResult)
      onCaptureSequenceAborted(CameraCaptureSession session, int sequenceId)
      onCaptureSequenceCompleted(CameraCaptureSession session, int sequenceId, long frameNumber)
      onCaptureStarted(CameraCaptureSession session, CaptureRequest request, long timestamp, long frameNumber)
    StateCallback
      onActive(CameraCaptureSession session)
      onClosed(CameraCaptureSession session)
      onConfigureFailed(CameraCaptureSession session)
      onConfigured(CameraCaptureSession session)
      onReady(CameraCaptureSession session)
      onSurfacePrepared(CameraCaptureSession session, Surface surface)
    需要CapturRequest对象
  TotalCaptureResult
    getPartialResults()
  CaptureResult
    get(Key<T> key)
    getFrameNumber()
    getKeys()
    getRequest()
    getSequenceId()
    Key
      equals(Object o)
      getName()
      hashCode()
      toString()
  CaptureFailure
    getFrameNumber()
    getReason()
    getRequest()
    getSequenceId()
    wasImageCaptured()
  CaptureRequest
    describeContents()
    equals(Object other)
    get(Key<T> key)
    getKeys()
    getTag()
    hashCode()
    isReprocess()
    writeToParcel(Parcel dest, int flags)
    Builder
      addTarget(Surface outputTarget)
      build()
      get(Key<T> key)
      removeTarget(Surface outputTarget)
      set(Key<T> key, T value)
      setTag(Object tag)
    Key
      equals(Object o)
      getName()
      hashCode()
      toString()
  DngCreator
    DngCreator(CameraCharacteristics characteristics, CaptureResult metadata)
    close()
    setDescription(String description)
    setLocation(Location location)
    setOrientation(int orientation)
    setThumbnail(Image pixels)
    setThumbnail(Bitmap pixels)
    writeByteBuffer(OutputStream dngOutput, Size size, ByteBuffer pixels, long offset)
    writeImage(OutputStream dngOutput, Image pixels)
    writeInputStream(OutputStream dngOutput, Size size, InputStream pixels, long offset)
  CameraConstrainedHighSpeedCaptureSession
    createHighSpeedRequestList(CaptureRequest request)
  CameraDevice
    close()
    createCaptureRequest(int templateType)
    createCaptureSession(List<Surface> outputs, CameraCaptureSession.StateCallback callback, Handler handler)
    createCaptureSessionByOutputConfigurations(List<OutputConfiguration> outputConfigurations, CameraCaptureSession.StateCallback callback, Handler handler)
    createConstrainedHighSpeedCaptureSession(List<Surface> outputs, CameraCaptureSession.StateCallback callback, Handler handler)
    createReprocessCaptureRequest(TotalCaptureResult inputResult)
    createReprocessableCaptureSession(InputConfiguration inputConfig, List<Surface> outputs, CameraCaptureSession.StateCallback callback, Handler handler)
    createReprocessableCaptureSessionByConfigurations(InputConfiguration inputConfig, List<OutputConfiguration> outputs, CameraCaptureSession.StateCallback callback, Handler handler)
    getId()
    StateCallback
      onClosed(CameraDevice camera)
      onDisconnected(CameraDevice camera)
      onError(CameraDevice camera, int error)
      onOpened(CameraDevice camera)
  CameraManager
    getCameraIdList()
    getCameraCharacteristics(String cameraId)
    setTorchMode(String cameraId, boolean enabled)
    openCamera(String cameraId, CameraDevice.StateCallback callback, Handler handler)
    registerAvailabilityCallback(CameraManager.AvailabilityCallback callback, Handler handler)
    unregisterAvailabilityCallback(CameraManager.AvailabilityCallback callback)
    AvailabilityCallback
      onCameraAvailable(String cameraId)
      onCameraUnavailable(String cameraId)
    registerTorchCallback(CameraManager.TorchCallback callback, Handler handler)
    unregisterTorchCallback(CameraManager.TorchCallback callback)
    TorchCallback
      onTorchModeChanged(String cameraId, boolean enabled)
      onTorchModeUnavailable(String cameraId)
  CameraCharacteristics
    get(Key<T> key)
    getAvailableCaptureRequestKeys()
    getAvailableCaptureResultKeys()
    getKeys()
    Key
      equals(Object o)
      getName()
      hashCode()
      toString()
  CameraMetadata
    getKeys()