DJI Mobile SDK Documentation

      class VideoPlaybackState

      static class VideoPlaybackState
      Package:dji.sdk.media
      Description:

      The playback state of the media manager.

      Class Members:
      method getPlayingMediaFile
      MediaFile getPlayingMediaFile()
      Package:dji.sdk.media
      Description:

      The video media file that is playing.

      Return:
      MediaFileAn instance of MediaFile.
      Playback Status
      method
      method getPlaybackStatus
      VideoPlaybackStatus getPlaybackStatus()
      Package:dji.sdk.media
      Description:

      The status of the playback (e.g. playing or paused).

      Return:
      VideoPlaybackStatusAn Enum value of VideoPlaybackStatus.
      Video Position
      method
      method getPlayingPosition
      float getPlayingPosition()
      Package:dji.sdk.media
      Description:

      The playing position in seconds.

      Return:
      floatA float value of the playing position in seconds.
      Playback Status
      enum
      enum VideoPlaybackStatus
      enum VideoPlaybackStatus
      Package:dji.sdk.media
      Description:

      The playback status.

      Enum Members:
      STOPPEDThe playback is stopped. No media is playing.
      PLAYINGThe media manager is playing a video.
      PAUSEDThe playing video is paused.
      UNKNOWNThe playing video is unknown.
      Class Members: