class DUXFPVViewController
@interface DUXFPVViewController : DUXContentViewController <DUXPIPVideoFeedWidgetDelegate >
Header: DUXFPVViewController.h Inherits From: DUXContentViewController
Description:
Subclass of DUXContentViewController which manages the logic for showing the FPV video and touch handling over the FPV view.
Class Members:
enum DUXFPVViewGridOverlayType
typedef NS_ENUM (NSUInteger , DUXFPVViewGridOverlayType)
Header: DUXFPVViewController.h
Description:
Represents the types of grid lines that can be set to be on top of the FPV.
Enum Members:
DUXFPVViewGridOverlayTypeNoneNo grid lines are visible. DUXFPVViewGridOverlayTypeGridHorizontal and vertical grid lines are visible in using a 3x3 grid. DUXFPVViewGridOverlayTypeGridWithDiagonalsSame as DUXFPVViewGridOverlayTypeGrid
with the addition of 2 diagonal lines running through the center. DUXFPVViewGridOverlayTypeUnknownThe type of grid is unknown.
protocol DUXFPVViewControllerDelegate
@protocol DUXFPVViewControllerDelegate <NSObject >
Header: DUXFPVViewController.h Inherits From: NSObject
Description:
This protocol allows you to receive updates regarding the DUXFPVViewController
state.
Protocol Methods:
method fpvViewController:didUpdateCurrentFPVViewCurrentCameraIndexTo
@optional - (void )fpvViewController:(nonnull DUXFPVViewController *)fpvViewController didUpdateCurrentFPVViewCurrentCameraIndexTo:(NSUInteger )updatedFPVViewCurrentCameraIndex
Header: DUXFPVViewController.h
Description:
This method is called whenever DUXFPVViewController
changes the camera it is getting it's video feed from. If the camera is the FPV camera (which does not have an index) then the value of the camera index will be NSNotFound.
nonnull DUXFPVViewController * fpvViewController The FPV view controller whose index has been updated. NSUInteger updatedFPVViewCurrentCameraIndex The updated value of the camera index. Cameras with no index (such as the FPV camera) will have a value of NSNotFound.
property fpvView
@property (readonly , nonatomic , nullable ) __kindof DUXFPVView *fpvView
Header: DUXFPVViewController.h
Description:
Reference for the actual view which shows the video feed.
See Also:
DUXFPVView
property isHUDInteractionEnabled
@property (nonatomic ) BOOL isHUDInteractionEnabled
Header: DUXFPVViewController.h
Description:
Flag which enables/disables interactivity of the FPVView. Used for enabling/disabling FPV view response to touches for focus and exposure when toggling between full screen and floating window.
property canDisplayGridOverlay
@property (nonatomic ) BOOL canDisplayGridOverlay
Header: DUXFPVViewController.h
Description:
When set to NO
the FPV view controller will not respond to grid settings control inside the camera settings panel. YES
by default.
property interactionController
@property (nonatomic , readonly , nonnull ) DUXFPVInteractionController *interactionController
Header: DUXFPVViewController.h
Description:
Enables/disables interactivity of the FPV at a greater granularity than isHUDInteractionEnabled
.
See Also:
DUXFPVInteractionController
property currentGridOverlayType
@property (nonatomic , assign ) DUXFPVViewGridOverlayType currentGridOverlayType
Header: DUXFPVViewController.h
Description:
The type of grid that is displayed above the video feed on top of the FPV. For the types of grid available see DUXFPVViewGridOverlayType
.
See Also:
DUXFPVViewGridOverlayType