class DJICameraFocusState
@interface DJICameraFocusState : NSObject
Header: DJICameraFocusState.h Inherits From: NSObject
Description:
This class contains information about the lens' current state, including lens type, focus status, focus mode, focus assistant state, and Auto Focus (AF) switch state.
Class Members:
property isLensMounted
@property (nonatomic , readonly ) BOOL isLensMounted
Description:
YES
if lens is installed on the camera.
property focusStatus
@property (nonatomic , readonly ) DJICameraFocusStatus focusStatus
Description:
The current focus status of the lens. If the lens is not installed, the value is undefined.
See Also:
DJICameraFocusStatus
property isAFSwitchOn
@property (nonatomic , readonly ) BOOL isAFSwitchOn
Description:
YES
if the lens Auto Focus (AF) switch is on. If the lens is not installed, the value is undefined. If YES
, setFocusMode:withCompletion
can be used to control the focal point.
property focusMode
@property (nonatomic , readonly ) DJICameraFocusMode focusMode
Description:
The current focus mode. If the lens is not installed, the value is undefined.
See Also:
DJICameraFocusMode
property isFocusAssistantEnabledForAF
@property (nonatomic , readonly ) BOOL isFocusAssistantEnabledForAF
Description:
YES
if the focus assistant is enabled for Auto focus mode. If the lens is not installed, the value is undefined.
property isFocusAssistantWorking
@property (nonatomic , readonly ) BOOL isFocusAssistantWorking
Description:
YES
if the focus target is zooming out. If the lens is not installed, the value is undefined.
Sensor Cleaning State
property
property sensorCleaningState
@property (nonatomic , readonly ) DJICameraSensorCleaningState sensorCleaningState
Header: DJICameraFocusState.h
Description:
The sensor cleaning state.
See Also:
DJICameraSensorCleaningState
Target Focal Length
property
property targetFocalLength
@property (nonatomic , readonly ) float targetFocalLength
Header: DJICameraFocusState.h
Description:
The focal length that user wants to set. Supported by Zenmuse H20 Series. The unit is millimeter.