DJI Mobile SDK Documentation

      class Callback

      interface Callback
      Package:dji.common.camera
      Description:

      When the video stream source has been changed, the interface will invoke the onUpdate method to notify all subscribers to update.

      Class Members:

      Callback Method

      State
      method
      method onUpdate
      void onUpdate(CameraVideoStreamSource streamSource)
      Package:dji.common.camera
      Description:

      When the video stream source has been changed, the method will be invoked.

      Input Parameters:
      CameraVideoStreamSource streamSourceAn object of CameraVideoStreamSource.