DJI Mobile SDK Documentation

      class Callback

      interface Callback
      Package:dji.common.accessory
      Description:

      This interface provides a callback to update the spotlight's current state.

      Class Members:

      Callback Method

      State
      method
      method onUpdate
      void onUpdate(SpotlightState state)
      Package:dji.common.accessory
      Description:

      Callback to update spotlight state.

      Input Parameters:
      SpotlightState stateThe spotlight's state.