Methods Summary |
---|
public void | failRequest()Mark this request as failed.
Log.w(TAG, "Capture failed for request: " + getRequestId());
mFailed = true;
|
public long | getFrameNumber()Returns the frame number for this request.
return mFrameNumber;
|
public java.util.Collection | getHolderTargets()Returns a read-only collection of the surfaces targeted by the contained request.
return getRequest().getTargets();
|
public android.hardware.camera2.CaptureRequest | getRequest()Returns the contained request.
return mRequest;
|
public int | getRequestId()Return the request id for the contained {@link CaptureRequest}.
return mRequestId;
|
public int | getSubsequeceId()Return the subsequence id for this request.
return mSubsequeceId;
|
public boolean | hasJpegTargets()Returns true if any of the surfaces targeted by the contained request require jpeg buffers.
return mNumJpegTargets > 0;
|
public boolean | hasPreviewTargets()Returns true if any of the surfaces targeted by the contained request require a
non-jpeg buffer type.
return mNumPreviewTargets > 0;
|
public boolean | isRepeating()Returns true if the contained request is repeating.
return mRepeating;
|
public int | numJpegTargets()Return the number of jpeg-type surfaces targeted by this request.
return mNumJpegTargets;
|
public int | numPreviewTargets()Return the number of non-jpeg-type surfaces targeted by this request.
return mNumPreviewTargets;
|
public boolean | requestFailed()Return {@code true} if this request failed.
return mFailed;
|