Deleted unused interfaces

This commit is contained in:
CappielloAntonio 2022-01-02 15:50:12 +01:00
parent 0b6c195e9d
commit b41e3e641b
2 changed files with 0 additions and 57 deletions

View file

@ -1,16 +0,0 @@
package com.cappielloantonio.play.interfaces;
public interface MusicServiceEventListener {
void onServiceConnected();
void onServiceDisconnected();
void onQueueChanged();
void onPlayMetadataChanged();
void onPlayStateChanged();
void onRepeatModeChanged();
}

View file

@ -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);
}
}