Added queue total time in playing screen
This commit is contained in:
parent
f0a648e8e8
commit
ae1af52bb6
4 changed files with 18 additions and 0 deletions
|
|
@ -239,6 +239,13 @@ public class MusicPlayerRemote {
|
|||
return -1;
|
||||
}
|
||||
|
||||
public static int getQueueDurationMillis(int position) {
|
||||
if (musicService != null) {
|
||||
return musicService.getQueueDurationMillis(position);
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
||||
public static int seekTo(int millis) {
|
||||
if (musicService != null) {
|
||||
return musicService.seek(millis);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue