Guest User

Untitled

a guest
Jun 20th, 2018
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. package com.soundcloud.player {
  2.  
  3. /**
  4. * @author matas
  5. */
  6. public interface PlayerInterface {
  7.  
  8. function play() : void;
  9.  
  10. function pause() : void;
  11.  
  12. function seek(position : Number) : void;
  13.  
  14. function skip(id : uint) : void;
  15.  
  16. function load(url : String) : void;
  17.  
  18. function toggle() : void;
  19.  
  20. function stop() : void;
  21.  
  22. function next() : void;
  23.  
  24. function prev() : void;
  25.  
  26. function getTrackDuration() : Number;
  27.  
  28. function getTrackPosition() : Number;
  29.  
  30. function getTracks() : Array;
  31.  
  32. function getPlaylist() : Object;
  33.  
  34. function getCurrentTrack() : Object;
  35.  
  36. function getCurrentTrackIndex() : int;
  37.  
  38. function setVolume(value : Number) : void;
  39.  
  40. function getVolume() : Number;
  41. }
  42. }
Add Comment
Please, Sign In to add comment