class FPVOverlayWidget extends FrameLayoutWidget implements View.OnTouchListener |
Package: | dji.ux.widget |
Inherits From: | FrameLayoutWidget implements View.OnTouchListener |
Single tap will show the selected target on top of the FPVWidget
.
Has two modes with two different icons.
Press and hold will show the gimbal control.
When grid mode is turned on (using the CameraSettingAdvancedPanel
), this also shows the grid lines. When center point is turned on (using the CameraSettingAdvancedPanel
), this also shows the center point.
Tapping in focus mode will select that point as focus target point. Tapping in meter mode will select that point as exposure meter target point.
Press and hold will activate gimbal control mode. Dragging gimbal control will move the gimbal accordingly.
Should be the same size and placed on top of FPVOverlayWidget
.
void setSpotMeteringEnabled(boolean isSpotMeteringEnabled) |
Package: | dji.ux.widget |
Enable or disable spot metering by this method. Enabled by default.
boolean isSpotMeteringEnabled | true to enable, false to disable. |
boolean isSpotMeteringEnabled() |
Package: | dji.ux.widget |
Method to check if spot metering using touch is enabled.
boolean | true if enabled, false if disabled. |
void setGimbalControlEnabled(boolean isGimbalControlEnabled) |
Package: | dji.ux.widget |
Enable or disable gimbal control by this method. Enabled by default.
boolean isGimbalControlEnabled | true to enable, false to disable. |
boolean isGimbalControlEnabled() |
Package: | dji.ux.widget |
Method to check if gimbal control using touch is enabled.
boolean | true if enabled, false if disabled. |
void setTouchFocusEnabled(boolean isTouhFocusEnabled) |
Package: | dji.ux.widget |
Enable or disable Touch to Focus by this method. Enabled by default.
boolean isTouhFocusEnabled | true to enable, false to disable. |
boolean isTouchFocusEnabled() |
Package: | dji.ux.widget |
Method to check if Touch to Focus is enabled.
boolean | true if enabled, false if disabled. |
void setGridOverlayEnabled(boolean isGridOverlayEnabled) |
Package: | dji.ux.widget |
Defaults to true
. If true
, FPVOverlayWidget will display grid setting if prompted by the user via the CameraGridListWidget. Setting this to false
means the grid will never be displayed.
boolean isGridOverlayEnabled | true to enable, false to disable. |
boolean isGridOverlayEnabled() |
Package: | dji.ux.widget |
If true
, FPVOverlayWidget will display grid setting if prompted by the user via the CameraGridListWidget. If false
, the grid will never be displayed.
boolean | true to enable, false to disable. |
void setCurrentGridOverlayType(GridOverlayType type) |
Package: | dji.ux.widget |
Sets the type of the grid overlay.
GridOverlayType type | The grid overlay type. |
GridOverlayType getCurrentGridOverlayType() |
Package: | dji.ux.widget |
Gets the current type of the grid overlay.
GridOverlayType | The current grid overlay type. |
enum GridOverlayType |
Package: | dji.ux.widget |
Represents the types of grid lines that can be set to be on top of the FPV.