public interface FrameResult
The results include the autofocus (AF) states and face detection results.
SystemCapability.Multimedia#CAMERA| 限定符和类型 | 接口 | 说明 |
|---|---|---|
static interface |
FrameResult.State |
Describes frame capture states.
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
AeResult |
getAeResult() |
Gets the automatic exposure (AE) result of the current frame.
|
AfResult |
getAfResult() |
Gets the AF result of the current frame.
|
int |
getCaptureTriggerId() |
Gets the ID of the frame capture trigger.
|
FaceDetectionResult |
getFaceDetectionResult() |
Gets the face detection result of the current frame.
|
FrameConfig |
getFrameConfig() |
Gets the frame capture configuration of the current frame.
|
long |
getFrameNumber() |
Gets the frame number.
|
ParametersResult |
getParametersResult() |
Gets the result related to the parameter settings of the current frame.
|
int |
getState() |
Gets the frame state of the camera.
|
long |
getTimestamp() |
Gets the timestamp when the current frame capture starts.
|
boolean |
isFullResult() |
Checks whether the frame capture generates a full result.
|
long getFrameNumber()
The frame numbers start and increase from 0.
int getState()
FrameResult.Stateboolean isFullResult()
true if the frame capture is complete, returns
false otherwise.long getTimestamp()
int getCaptureTriggerId()
FrameConfig getFrameConfig()
AfResult getAfResult()
null if there is no AF result.AeResult getAeResult()
null if there is no AE result.FaceDetectionResult getFaceDetectionResult()
null if there is no face detection result.ParametersResult getParametersResult()
null if there is no result.