DJI Mobile SDK Documentation

      class VirtualStickState

      class VirtualStickState
      Package:dji.v5.manager.aircraft.virtualstick
      Description:

      Listener of the virtual stick status.

      Supported since MSDK 5.0.0

      Class Members:
      method isVirtualStickEnable
      boolean isVirtualStickEnable()
      Package:dji.v5.manager.aircraft.virtualstick
      Description:

      Gets the virtual stick function is opened.

      Return:
      booleantrue means virtual stick function is opened.
      method isVirtualStickAdvancedModeEnabled
      boolean isVirtualStickAdvancedModeEnabled()
      Package:dji.v5.manager.aircraft.virtualstick
      Description:

      Gets whether to enable the advanced mode of the virtual stick.

      Return:
      booleantrue means enable virtual stick advanced mode.
      method getCurrentFlightControlAuthorityOwner
      FlightControlAuthority getCurrentFlightControlAuthorityOwner()
      Package:dji.v5.manager.aircraft.virtualstick
      Description:

      Gets the current flight control authority owner.

      Return:
      FlightControlAuthorityReturn the current flight control authority owner.