getDuration abstract method

Future<int> getDuration()

获取媒体文件总时长。

Returns 媒体文件总时长(毫秒)。

Implementation

Future<int> getDuration();