DJI Mobile SDK Documentation

      class VirtualStickStateListener

      interface VirtualStickStateListener
      Package:dji.v5.manager.aircraft.virtualstick
      Description:

      Listener of the virtual stick status.

      Supported since MSDK 5.0.0

      Class Members:
      method onVirtualStickStateUpdate
      void onVirtualStickStateUpdate(@NonNull VirtualStickState stickState)
      Package:dji.v5.manager.aircraft.virtualstick
      Description:

      When the virtual stick status is changed, this function will be called back.

      Supported since MSDK 5.0.0

      Input Parameters:
      @NonNull VirtualStickState stickStateVirtual Stiack Status
      method onChangeReasonUpdate
      void onChangeReasonUpdate(@NonNull FlightControlAuthorityChangeReason reason)
      Package:dji.v5.manager.aircraft.virtualstick
      Description:

      When the flight control authority is changed,, this function will be called back.s

      Supported since MSDK 5.0.0

      Input Parameters:
      @NonNull FlightControlAuthorityChangeReason reasonFlight control authority change reason.