DJI Mobile SDK Documentation

      class Callback

      interface Callback
      Package:dji.common.accessory
      Description:

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

      Class Members:

      Callback Method

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

      Callback to update spotlight state.

      Input Parameters:
      SpeakerState stateThe spotlight's state.