public interface FrameConfig
| 限定符和类型 | 接口 | 说明 |
|---|---|---|
static interface |
FrameConfig.Builder |
Provides frame configuration
Builder objects. |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
boolean |
equals(Object obj) |
Checks whether this
FrameConfig object equals a specified object. |
<T> T |
get(ParameterKey.Key<T> key) |
Gets the parameter value of the current frame capture configuration.
|
int |
getAeMode() |
Gets the automatic exposure (AE) mode configured for the current frame capture.
|
Rect |
getAeRect() |
Gets the AE area configured for the current frame capture.
|
int |
getAeTrigger() |
Gets the AE trigger type configured for the current frame capture.
|
int |
getAfMode() |
Gets the autofocus (AF) mode configured for the current frame capture.
|
Rect |
getAfRect() |
Gets the AF area configured for the current frame capture.
|
int |
getAfTrigger() |
Gets the AF trigger type configured for the current frame capture.
|
int |
getAwbMode() |
Gets the auto white balance (AWB) mode set for the current frame capture.
|
Surface |
getCoordinateSurface() |
Obtains the surface on which the central coordinate system is based.
|
int |
getFaceDetectionType() |
Gets the face detection type configured for the current frame capture.
|
int |
getFlashMode() |
Gets the flash mode configured for the current frame capture.
|
int |
getFrameConfigType() |
Gets the template type for frame capture configuration.
|
int |
getImageRotation() |
Gets the image rotation angle configured for the current frame capture.
|
List<ParameterKey.Key<?>> |
getKeys() |
Gets all parameters for the current frame capture configuration.
|
Location |
getLocation() |
Gets the geolocation configured for the current frame capture.
|
Object |
getMark() |
Obtains the unique mark on a
FrameConfig instance. |
List<Surface> |
getSurfaces() |
Gets all surfaces configured for the current frame capture.
|
float |
getZoomValue() |
Gets the zoom value configured for the current frame capture.
|
int getFrameConfigType()
Camera.FrameConfigType,
Camera.getFrameConfigBuilder(int)List<Surface> getSurfaces()
FrameConfig.Builder.addSurface(Surface)Surface getCoordinateSurface()
FrameConfig.Builder.setCoordinateSurface(Surface)int getAfMode()
Metadata.AfMode,
FrameConfig.Builder.setAfMode(int, Rect)Rect getAfRect()
FrameConfig.Builder.setAfMode(int, Rect)int getAfTrigger()
Metadata.AfTrigger,
FrameConfig.Builder.setAfTrigger(int)int getAeMode()
Metadata.AeMode,
FrameConfig.Builder.setAeMode(int, Rect)Rect getAeRect()
FrameConfig.Builder.setAeMode(int, Rect)int getAeTrigger()
Metadata.AeTrigger,
FrameConfig.Builder.setAeTrigger(int)int getAwbMode()
Metadata.AwbMode#AWB_AUTOMATIC
if the AWB mode is not set.Metadata.AwbMode,
FrameConfig.Builder.setAwbMode(int, Rect)float getZoomValue()
FrameConfig.Builder.setZoom(float)int getFlashMode()
Metadata.FlashMode,
FrameConfig.Builder.setFlashMode(int)int getFaceDetectionType()
Metadata.FaceDetectionType,
FrameConfig.Builder.setFaceDetection(int, boolean)Location getLocation()
null if there is no configuration.FrameConfig.Builder.setLocation(Location)int getImageRotation()
FrameConfig.Builder.setImageRotation(int)<T> T get(ParameterKey.Key<T> key)
T - Indicates the type of the parameter value.key - Indicates the parameter.FrameConfig.Builder.setParameter(ParameterKey.Key, Object)List<ParameterKey.Key<?>> getKeys()
FrameConfig.Builder.setParameter(ParameterKey.Key, Object)Object getMark()
FrameConfig instance.
The mark is used to identify a FrameConfig instance during frame processing by the camera.
FrameConfig mark.FrameStateCallback.onFrameStarted(Camera, FrameConfig, long, long),
FrameStateCallback.onFrameProgressed(Camera, FrameConfig, FrameResult),
FrameStateCallback.onFrameFinished(Camera, FrameConfig, FrameResult),
FrameStateCallback.onFrameError(Camera, FrameConfig, int, FrameResult),
FrameConfig.Builder.setMark(Object)boolean equals(Object obj)
FrameConfig object equals a specified object.
The two objects are equal only when all their elements are the same.
equals 在类中 Objectobj - Indicates the specified object to compare.true if the two objects are equal; returns false otherwise.Object.hashCode(),
HashMap