mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 10:26:31 +00:00
big refactoring. get rid of static properties and coupled architecture. prepare system for integration tests
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
namespace Azaion.Common.Services;
|
||||
|
||||
public interface IMediaPlayerService
|
||||
{
|
||||
void Play();
|
||||
void Pause();
|
||||
void Stop();
|
||||
long Time { get; set; }
|
||||
float Position { get; set; }
|
||||
int Volume { get; set; }
|
||||
bool IsPlaying { get; }
|
||||
long Length { get; }
|
||||
void SetMedia(string mediaPath);
|
||||
void TakeSnapshot(uint num, string path, uint width, uint height);
|
||||
|
||||
event EventHandler? Playing;
|
||||
event EventHandler? Paused;
|
||||
event EventHandler? Stopped;
|
||||
event EventHandler? PositionChanged;
|
||||
event EventHandler? LengthChanged;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user