2019-05-24 21:17:14 +00:00
|
|
|
using System;
|
2019-07-05 18:17:09 +00:00
|
|
|
using Aurora.Models.Media;
|
2019-05-24 21:17:14 +00:00
|
|
|
|
2020-02-01 01:41:45 +00:00
|
|
|
namespace Aurora.Services.Player
|
2019-05-24 21:17:14 +00:00
|
|
|
{
|
|
|
|
public delegate void MediaChangedEventHandler(object source, MediaChangedEventArgs e);
|
|
|
|
|
|
|
|
public class MediaChangedEventArgs : EventArgs
|
|
|
|
{
|
|
|
|
public BaseMetadata NewMetadata { get; private set; }
|
2019-11-13 01:09:45 +00:00
|
|
|
public string NewId { get; private set; }
|
2019-05-24 21:17:14 +00:00
|
|
|
|
2019-11-13 01:09:45 +00:00
|
|
|
public MediaChangedEventArgs(string id, BaseMetadata metadata)
|
2019-05-24 21:17:14 +00:00
|
|
|
{
|
|
|
|
NewMetadata = metadata;
|
2019-11-13 01:09:45 +00:00
|
|
|
NewId = id;
|
2019-05-24 21:17:14 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|