DJI Mobile SDK Documentation

      class DecoderStateChangeListener

      @Deprecated
      interface DecoderStateChangeListener
      Package:dji.v5.common.video.interfaces
      Description:

      Decoder state listener.

      Supported since MSDK 5.0.0

      Class Members:
      method
      method onUpdate
      void onUpdate(DecoderState from, DecoderState to)
      Package:dji.v5.common.video.interfaces
      Description:

      The listener will be triggered when the decoder state has changed.

      Supported since MSDK 5.0.0

      Input Parameters:
      DecoderState fromThe previous state of decoder state
      DecoderState toThe current state of decoder state