DJI Mobile SDK Documentation

      class VideoPlayStatus

      class VideoPlayStatus
      Package:dji.v5.manager.datacenter.media
      Description:

      Playing status of media file.

      Supported since MSDK 5.0.0

      Class Members:
      method
      method getState
      VideoPlayState getState()
      Package:dji.v5.manager.datacenter.media
      Description:

      Get currently playing status.

      Supported since MSDK 5.0.0

      Return:
      VideoPlayStateReturn currently playing status.
      method getFileIndex
      Integer getFileIndex()
      Package:dji.v5.manager.datacenter.media
      Description:

      Get index of currently playing media file.

      Supported since MSDK 5.0.0

      Return:
      IntegerReturn index of currently playing media file.
      method getPlayingPosition
      double getPlayingPosition()
      Package:dji.v5.manager.datacenter.media
      Description:

      Get current playing location. Unit: second.

      Supported since MSDK 5.0.0

      Return:
      doubleReturn current playing location. Unit:second.
      method getTotalDuration
      double getTotalDuration()
      Package:dji.v5.manager.datacenter.media
      Description:

      Get the total duration of currently playing media file. Unit: second.

      Supported since MSDK 5.0.0

      Return:
      doubleReturn the total duration of currently playing media file. Unit:second.