getTotalDuration abstract method

Future<int> getTotalDuration()

Get the total progress of your media resources.

You should load resource before invoking this function, otherwise the return value is 0

  • Returns Unit is millisecond

Implementation

Future<int> getTotalDuration();