DJI Mobile SDK Documentation

      class CallBack

      interface CallBack
      Package:dji.sdk.camera
      Description:

      The interface provides the method to receive the updated state of the playback manager.

      Class Members:

      Callback Method

      State
      method
      method onUpdate
      void onUpdate(PlaybackState state)
      Package:dji.sdk.camera
      Description:

      Updates the playback state of the camera. This update method will only be called when the camera's work mode is set to PLAYBACK.

      Input Parameters:
      PlaybackState stateContains the state information when the camera in the playback state, such as numbers of photos in the SD card, numbers of videos in the SD card and the media file type.