IWrapperPlayer.cs 1.3 KB

12345678910111213141516171819202122232425262728
  1. namespace UMP.Wrappers
  2. {
  3. interface IWrapperPlayer
  4. {
  5. void PlayerSetDataSource(string path, object playerObject = null);
  6. bool PlayerPlay(object playerObject = null);
  7. void PlayerPause(object playerObject = null);
  8. void PlayerStop(object playerObject = null);
  9. void PlayerRelease(object playerObject = null);
  10. bool PlayerIsPlaying(object playerObject = null);
  11. long PlayerGetLength(object playerObject = null);
  12. long PlayerGetTime(object playerObject = null);
  13. void PlayerSetTime(long time, object playerObject = null);
  14. float PlayerGetPosition(object playerObject = null);
  15. void PlayerSetPosition(float pos, object playerObject = null);
  16. float PlayerGetRate(object playerObject = null);
  17. bool PlayerSetRate(float rate, object playerObject = null);
  18. int PlayerGetVolume(object playerObject = null);
  19. int PlayerSetVolume(int volume, object playerObject = null);
  20. bool PlayerGetMute(object playerObject = null);
  21. void PlayerSetMute(bool mute, object playerObject = null);
  22. int PlayerVideoWidth(object playerObject = null);
  23. int PlayerVideoHeight(object playerObject = null);
  24. int PlayerVideoFramesCounter(object playerObject = null);
  25. PlayerState PlayerGetState();
  26. object PlayerGetStateValue();
  27. }
  28. }