2019-05-24 10:27:19 -04:00
|
|
|
using System;
|
2019-07-05 14:17:09 -04:00
|
|
|
using Aurora.Models.Media;
|
2019-05-24 10:27:19 -04:00
|
|
|
|
2019-07-05 14:17:09 -04:00
|
|
|
namespace Aurora.Services.PlayerService
|
2019-05-24 10:27:19 -04: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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|