DJI Mobile SDK Documentation

      class DialogElementConfig

      class DialogElementConfig implements Parcelable 
      Package:dji.open.pilot.base.manager.ui.config
      Description:

      Input field and selection item configuration information.

      Supported since MSDK 5.20.1

      Class Members:
      method setInputHint
      void setInputHint(String inputHint) 
      Package:dji.open.pilot.base.manager.ui.config
      Description:

      Sets the hint text of the input field.

      Supported since MSDK 5.20.1

      Input Parameters:
      String inputHintThe hint text.
      method getInputHint
      String getInputHint() 
      Package:dji.open.pilot.base.manager.ui.config
      Description:

      Gets the hint text of the input field.

      Supported since MSDK 5.20.1

      Return:
      StringThe hint text.
      method setInputPrefill
      void setInputPrefill(String inputPrefill) 
      Package:dji.open.pilot.base.manager.ui.config
      Description:

      Sets the default value of the input field.

      Supported since MSDK 5.20.1

      Input Parameters:
      String inputPrefillThe default value.
      method getInputPrefill
      String getInputPrefill() 
      Package:dji.open.pilot.base.manager.ui.config
      Description:

      Gets the default value of the input field.

      Supported since MSDK 5.20.1

      Return:
      StringThe default value.
      method setSelectionItem
      void setSelectionItem(String selectionItem) 
      Package:dji.open.pilot.base.manager.ui.config
      Description:

      Sets the selection item content.

      Supported since MSDK 5.20.1

      Input Parameters:
      String selectionItemThe selection item.
      method getSelectionItem
      String getSelectionItem() 
      Package:dji.open.pilot.base.manager.ui.config
      Description:

      Gets the selection item content.

      Supported since MSDK 5.20.1

      Return:
      StringThe selection item.
      method setSelected
      void setSelected(boolean selected) 
      Package:dji.open.pilot.base.manager.ui.config
      Description:

      Sets whether it is selected.

      Supported since MSDK 5.20.1

      Input Parameters:
      boolean selectedtrue indicates selected, false indicates not selected.
      method isSelected
      boolean isSelected() 
      Package:dji.open.pilot.base.manager.ui.config
      Description:

      Gets whether it is selected.

      Supported since MSDK 5.20.1

      Return:
      booleantrue indicates selected, false indicates not selected.