aurora/aurora-sharp-desktop/Aurora/Services/Player/PlaybackStateChangedEvent.cs

19 lines
531 B
C#
Raw Normal View History

2021-03-06 04:10:12 +00:00
using System;
using Aurora.Models.Media;
namespace Aurora.Services.Player
{
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;
}
}
}