aurora/aurora-sharp-desktop/Aurora/Services/Player/MediaChangedEvent.cs
2021-03-05 23:10:12 -05:00

19 lines
497 B
C#

using System;
using Aurora.Models.Media;
namespace Aurora.Services.Player
{
public delegate void MediaChangedEventHandler(object source, MediaChangedEventArgs e);
public class MediaChangedEventArgs : EventArgs
{
public BaseMetadata NewMetadata { get; private set; }
public string NewId { get; private set; }
public MediaChangedEventArgs(string id, BaseMetadata metadata)
{
NewMetadata = metadata;
NewId = id;
}
}
}