getDuration abstract method
- String resourceID
Get the playing time of a song or accompaniment file.
Available since: 2.13.0 Description: Get the playing time of a song or accompaniment file. Use case: Can be used to display the playing time information of the song or accompaniment on the view. When to call: After initializing the copyrighted music success initCopyrightedMusic.
resourceID
the resource ID corresponding to the song or accompaniment.
Implementation
Future<int> getDuration(String resourceID);