Get the total progress of your media resources.
You should load resource before invoking this function, otherwise the return value is 0
Future<int> getTotalDuration();