DJI Mobile SDK Documentation

      class TransformationSwitch

      static class TransformationSwitch
      Package:dji.common.remotecontroller
      SDK Key:RemoteControllerKey.TRANSFORMATION_SWITCH
      Description:

      Transformation Switch position. The Transformation Switch is around the Return To Home Button on Inspire, Inspire 1 and M100 Remote Controllers, and controls the state of the aircraft's landing gear.

      Class Members:
      method
      method isPresent
      boolean isPresent()
      Package:dji.common.remotecontroller
      Description:

      true if the Transformation Switch present.

      Return:
      booleanA boolean value.
      method
      method getState
      State getState()
      Package:dji.common.remotecontroller
      Description:

      Current transformation switch state.

      Return:
      StateAn enum value of State
      enum
      enum State
      enum State
      Package:dji.common.remotecontroller
      Description:

      Transformation Switch position states.

      Enum Members:
      RETRACTRetract landing gear switch state.
      DEPLOYDeploy landing gear switch state.
      Class Members: