DJI Mobile SDK Documentation

class CameraControlsWidget

class CameraControlsWidget extends FrameLayoutWidget
Package:dji.ux.widget.controls
Inherits From:FrameLayoutWidget
Display:

uilib_image

Compound widget

Interaction:

Tapping the Menu button will toggle between show and hide CameraSettingAdvancedPanel. Tapping the switch button will toggle camera mode between shoot photo and record video. Tapping the bottom button will toggle between show and hide CameraSettingExposurePanel. Full interaction with CameraCaptureWidget.

Usage:

Preferred Aspect Ratio: 30:128

Class Members:
method setAdvancedPanelVisibility
void setAdvancedPanelVisibility(boolean isVisible)
Package:dji.ux.widget.controls
Description:

Shows/hides the CameraSettingAdvancedPanel.

Input Parameters:
boolean isVisibleTrue to show the panel, false to hide it.
method setExposurePanelVisibility
void setExposurePanelVisibility(boolean isVisible)
Package:dji.ux.widget.controls
Description:

Shows/hides the CameraSettingExposurePanel.

Input Parameters:
boolean isVisibleTrue to show the panel, false to hide it.