# 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
getState

###### method getState

    VideoPlayState getState()

Package: | dji.v5.manager.datacenter.media

##### Description:

Get currently playing status.
`Supported since MSDK 5.0.0`

##### Return:

VideoPlayState | Return currently playing status.

method
getFileIndex

###### 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:

Integer | Return index of currently playing media file.

method
getPlayingPosition

###### method getPlayingPosition

    double getPlayingPosition()

Package: | dji.v5.manager.datacenter.media

##### Description:

Get current playing location. Unit: second.
`Supported since MSDK 5.0.0`

##### Return:

double | Return current playing location. Unit:second.

method
getTotalDuration

###### 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:

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

×

## Search Mobile SDK Document

{{searchCount}} Results

- ### {{{(item.highlights && item.highlights.title) || item.title}}}

  {{{(item.highlights && item.highlights.content[0]) || item.title}}}

Load More
Loading...
Not Found