2019-05-24 14:27:19 +00:00
|
|
|
using System;
|
2019-07-05 18:17:09 +00:00
|
|
|
using Aurora.Models.Media;
|
2019-05-24 14:27:19 +00:00
|
|
|
|
2020-02-01 01:41:45 +00:00
|
|
|
namespace Aurora.Services.Player
|
2019-05-24 14:27:19 +00:00
|
|
|
{
|
|
|
|
public delegate void PlaybackStateChangedEventHandler(object source, PlaybackStateChangedEventArgs e);
|
|
|
|
|
|
|
|
public class PlaybackStateChangedEventArgs : EventArgs
|
|
|
|
{
|
|
|
|
public PlaybackState OldState { get; }
|
|
|
|
public PlaybackState NewState { get; }
|
|
|
|
|
|
|
|
public PlaybackStateChangedEventArgs(PlaybackState oldState, PlaybackState newState)
|
|
|
|
{
|
|
|
|
OldState = oldState;
|
|
|
|
NewState = newState;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|