DJI Mobile SDK Documentation

class PictureVideoSwitch

class PictureVideoSwitch extends FrameLayoutWidget
implements SwitchButton.OnCheckedChangeListener, View.OnClickListener
Package:dji.ux.widget.controls
Inherits From:FrameLayoutWidget implements SwitchButton.OnCheckedChangeListener, View.OnClickListener
Display:

uilib_image

A switch button shows weather the camera mode is in shoot photo or record video.

Interaction:

Use switch button to toggle the camera mode.

Usage:

Preferred Aspect Ratio: 44:36. Check CameraControlsWidget for an example of its usage.