Project for Continous Integration
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
489 B

  1. package device;
  2. public interface Device {
  3. void louder();
  4. void quieter();
  5. int getVolume();
  6. void next();
  7. void prev();
  8. String play();
  9. //get deviceName, Album and current Item
  10. String getInfoText();
  11. //get a list of public methods
  12. String[] getOptions();
  13. //get an Item of the Album
  14. String chooseItem(int itemNr);
  15. // get the actual album
  16. String[] getItemList();
  17. //mute the Volume and returns an Info.
  18. String mute();
  19. //unmute the Volume and returns an Info.
  20. String unmute();
  21. }