getMusicCurrentPosInMS abstract method
Getting the Playback Progress (ms) of Background Music
This API is used to retrieve the playback progress of background music.
- Parameters:
- id(int):
- Music ID.
- id(int):
Return Description: The milliseconds that have passed since playback started. -1 indicates failure to get the playback progress.
Implementation
int getMusicCurrentPosInMS(int id);