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

19 lines
497 B
C#
Raw Permalink Normal View History

2021-03-06 04:10:12 +00:00
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;
}
}
}