class Builder
static final class Builder
Package: dji.common.gimbal
Description:
Object builder.
Class Members:
method Builder
Package: dji.common.gimbal
Description:
Default rotation constructor method.
method Builder
Builder(Rotation rotation)
Package: dji.common.gimbal
Description:
Constructor method that clones a rotation object.
method mode
Builder mode (RotationMode mode)
Package: dji.common.gimbal
Description:
Constructor method.
Return:
Builder Builder object for mode
method pitch
Builder pitch (float pitch)
Package: dji.common.gimbal
Description:
Constructor method.
float pitch A float value of pitch.
Return:
Builder Builder object for pitch
method roll
Package: dji.common.gimbal
Description:
Constructor method.
float roll A float value of roll.
Return:
Builder Builder object for roll
method yaw
Package: dji.common.gimbal
Description:
Constructor method.
float yaw A float value of yaw.
Return:
Builder Builder object for yaw
method time
Builder time (double time)
Package: dji.common.gimbal
Description:
Sets the completion time in seconds to complete an action to control the gimbal. If the the rotation mode is ABSOLUTE_ANGLE
then the time determines the duration of time the gimbal should rotate to its new position. For example, if a value of 2.0 is used, then the gimbal will rotate to its target position in 2.0 seconds. Range is [0.1,25.5] seconds. Does not take effect in waypoint mission.
double time A double value of time.
Return:
Builder Builder object for time
method ignore
Builder ignore (boolean ignore)
Package: dji.common.gimbal
Description:
Set whether the app can control the gimbal.
boolean ignore true
if the app can control the gimbal.
Return:
method build
Package: dji.common.gimbal
Description:
Build the object.
Return: