mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 18:03:33 +00:00
Deleted unused interfaces
This commit is contained in:
parent
0b6c195e9d
commit
b41e3e641b
2 changed files with 0 additions and 57 deletions
|
|
@ -1,16 +0,0 @@
|
||||||
package com.cappielloantonio.play.interfaces;
|
|
||||||
|
|
||||||
public interface MusicServiceEventListener {
|
|
||||||
|
|
||||||
void onServiceConnected();
|
|
||||||
|
|
||||||
void onServiceDisconnected();
|
|
||||||
|
|
||||||
void onQueueChanged();
|
|
||||||
|
|
||||||
void onPlayMetadataChanged();
|
|
||||||
|
|
||||||
void onPlayStateChanged();
|
|
||||||
|
|
||||||
void onRepeatModeChanged();
|
|
||||||
}
|
|
||||||
|
|
@ -1,41 +0,0 @@
|
||||||
package com.cappielloantonio.play.interfaces;
|
|
||||||
|
|
||||||
import com.cappielloantonio.play.model.Song;
|
|
||||||
|
|
||||||
public interface Playback {
|
|
||||||
void setDataSource(Song song);
|
|
||||||
|
|
||||||
void queueDataSource(Song song);
|
|
||||||
|
|
||||||
void setCallbacks(PlaybackCallbacks callbacks);
|
|
||||||
|
|
||||||
boolean isReady();
|
|
||||||
|
|
||||||
boolean isPlaying();
|
|
||||||
|
|
||||||
boolean isLoading();
|
|
||||||
|
|
||||||
void start();
|
|
||||||
|
|
||||||
void pause();
|
|
||||||
|
|
||||||
void stop();
|
|
||||||
|
|
||||||
int getProgress();
|
|
||||||
|
|
||||||
void setProgress(int progress);
|
|
||||||
|
|
||||||
int getDuration();
|
|
||||||
|
|
||||||
int getVolume();
|
|
||||||
|
|
||||||
void setVolume(int volume);
|
|
||||||
|
|
||||||
interface PlaybackCallbacks {
|
|
||||||
void onStateChanged(int state);
|
|
||||||
|
|
||||||
void onReadyChanged(boolean ready, int reason);
|
|
||||||
|
|
||||||
void onTrackChanged(int reason);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue