DJI Mobile SDK Documentation

      class CallBack

      interface CallBack

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

      Class Members:

      Callback Method

      method onUpdate
      void onUpdate(PlaybackState state)

      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.