Config
public struct Config : Equatable
The config of a particular plan item.
-
Whether to enable obstacle avoidance.
Declaration
Swift
public var obstacleAvoidance: Bool?
-
The EV compensation of the camera.
Declaration
Swift
public var evCompensation: Camera2EvCompensation?
-
The white balance mode of the camera.
Declaration
Swift
public var whiteBalance: Camera2WhiteBalanceMode?
-
The photo resolution of the camera.
Declaration
Swift
public var photoResolution: Camera2PhotoResolution?
-
The video resolution of the camera.
Declaration
Swift
public var videoResolution: Camera2RecordingResolution?
-
The frame rate of the camera.
Declaration
Swift
public var frameRate: Camera2RecordingFramerate?
-
Constructor.
Declaration
Swift
public init(obstacleAvoidance: Bool? = nil, evCompensation: Camera2EvCompensation? = nil, whiteBalance: Camera2WhiteBalanceMode? = nil, photoResolution: Camera2PhotoResolution? = nil, videoResolution: Camera2RecordingResolution? = nil, frameRate: Camera2RecordingFramerate? = nil)
Parameters
obstacleAvoidance
whether to enable obstacle avoidance.
evCompensation
the EV compensation of the camera.
whiteBalance
the white balance mode of the camera.
photResolution
the photo resolution of the camera.
videoResolution
the video resolution of the camera.
frameRate
the frame rate of the camera.