class Builder
| Package: | dji.open.pilot.base.manager.ui.config |
Description:
Builder for DialogConfig.
Supported since MSDK 5.20.1
Class Members:
method setTitle
Builder setTitle(String title)
|
| Package: | dji.open.pilot.base.manager.ui.config |
Description:
Sets the dialog title.
Supported since MSDK 5.20.1
Return:
| Builder | The Builder itself. |
method setMessage
Builder setMessage(String message)
|
| Package: | dji.open.pilot.base.manager.ui.config |
Description:
Sets the dialog content.
Supported since MSDK 5.20.1
| String message | The content. |
Return:
| Builder | The Builder itself. |
method setIconFileName
Builder setIconFileName(String iconFileName)
|
| Package: | dji.open.pilot.base.manager.ui.config |
Description:
Sets the dialog icon.
Supported since MSDK 5.20.1
| String iconFileName | The icon file name. |
Return:
| Builder | The Builder itself. |
method setElementConfigs
Builder setElementConfigs(List<DialogElementConfig> elementConfigs)
|
| Package: | dji.open.pilot.base.manager.ui.config |
Description:
Sets the selection items of the selection dialog, and the hint and default prefill content of the input dialog.
Supported since MSDK 5.20.1
Return:
| Builder | The Builder itself. |
method setStartButtonText
Builder setStartButtonText(String startButtonText)
|
| Package: | dji.open.pilot.base.manager.ui.config |
Description:
Sets the StartButton text.
Supported since MSDK 5.20.1
| String startButtonText | The button text. |
Return:
| Builder | The Builder itself. |
method setEndButtonText
Builder setEndButtonText(String endButtonText)
|
| Package: | dji.open.pilot.base.manager.ui.config |
Description:
Sets the EndButton text.
Supported since MSDK 5.20.1
| String endButtonText | The button text. |
Return:
| Builder | The Builder itself. |
method setOnDismiss
Builder setOnDismiss(IOpenViewOnClickListener onDismiss)
|
| Package: | dji.open.pilot.base.manager.ui.config |
Description:
Sets the Dismiss callback function.
Supported since MSDK 5.20.1
| IOpenViewOnClickListener onDismiss | The callback function. |
Return:
| Builder | The Builder itself. |
method setOnMessage
Builder setOnMessage(IDialogMessageListener onMessage)
|
| Package: | dji.open.pilot.base.manager.ui.config |
Description:
Sets the onMessage data callback function.
Supported since MSDK 5.20.1
Return:
| Builder | The Builder itself. |
method build
| Package: | dji.open.pilot.base.manager.ui.config |
Description:
Builds the DialogConfig object.
Supported since MSDK 5.20.1
Return: