DJI Mobile SDK Documentation

class AutoExposureLockWidget

class AutoExposureLockWidget extends FrameLayoutWidget implements ImageButton.OnClickListener
Package:dji.ux.widget
Inherits From:FrameLayoutWidget implements ImageButton.OnClickListener
Display:

uilib_image

A lock icon with two states shows whether the camera's AE (auto exposure) is locked or not.

Interaction:

Tapping the lock icon will toggle the value of AE lock.

Usage:

Preferred Aspect Ratio: 1:1

Class Members:
method onAELockChange
@MainThread
@Keep
void onAELockChange(boolean isLocked)
Package:dji.ux.widget
Description:

Updates when AE Lock status has changed

Input Parameters:
boolean isLockedtrue means AE is locked, false otherwise.
method performAELockAction
@MainThread
@Keep
void performAELockAction(final boolean isLock)
Package:dji.ux.widget
Description:

Performs auto exposure lock action @see #onAELockActionResult to listen on the action result by overridding

Input Parameters:
final boolean isLocktrue if auto exposure is to be locked
method onAELockActionResult
@MainThread
@Keep
void onAELockActionResult(@Nullable DJIError error)
Package:dji.ux.widget
Description:

Triggers when AE Lock action finishes

Input Parameters:
@Nullable DJIError errorerror object, or null if no error has occurred