public interface CameraConfig
This interface facilitates the configuration of, for example, surfaces used for camera output streams and callbacks of frame capture results.
SystemCapability.Multimedia#CAMERA| 限定符和类型 | 接口 | 说明 |
|---|---|---|
static interface |
CameraConfig.Builder |
Used to create a
CameraConfig instance. |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
boolean |
equals(Object obj) |
Checks whether this
CameraConfig object equals a specified object. |
List<Surface> |
getSurfaces() |
Gets all surfaces set for the camera stream in
CameraConfig. |
List<Surface> getSurfaces()
CameraConfig.CameraConfig.Builder.addSurface(Surface)boolean equals(Object obj)
CameraConfig object equals a specified object.
The two objects are equal only when all their elements are the same, including the
Surface list, DeferredSurface list, FrameStateCallBack object, and running mode.
equals 在类中 Objectobj - Indicates the specified object to compare.true if the two objects are equal; returns false otherwise.Object.hashCode(),
HashMap