2015-10-16 23:44:35 +01:00
|
|
|
|
using SpotifyAPI.Local.Models;
|
|
|
|
|
using System;
|
2014-01-08 22:22:54 +00:00
|
|
|
|
|
2015-07-07 17:11:11 +01:00
|
|
|
|
namespace SpotifyAPI.Local
|
2014-01-08 22:22:54 +00:00
|
|
|
|
{
|
2014-02-13 13:23:52 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Event gets triggered, when the Track is changed
|
|
|
|
|
/// </summary>
|
2014-01-10 07:09:14 +00:00
|
|
|
|
public class TrackChangeEventArgs
|
2014-01-08 22:22:54 +00:00
|
|
|
|
{
|
2015-07-07 17:11:11 +01:00
|
|
|
|
public Track OldTrack { get; set; }
|
|
|
|
|
public Track NewTrack { get; set; }
|
2014-01-08 22:22:54 +00:00
|
|
|
|
}
|
2015-10-16 23:44:35 +01:00
|
|
|
|
|
2014-02-13 13:23:52 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Event gets triggered, when the Playin-state is changed (e.g Play --> Pause)
|
|
|
|
|
/// </summary>
|
2014-01-08 22:22:54 +00:00
|
|
|
|
public class PlayStateEventArgs
|
|
|
|
|
{
|
2015-07-07 17:11:11 +01:00
|
|
|
|
public Boolean Playing { get; set; }
|
2014-01-08 22:22:54 +00:00
|
|
|
|
}
|
2015-10-16 23:44:35 +01:00
|
|
|
|
|
2014-02-13 13:23:52 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Event gets triggered, when the volume changes
|
|
|
|
|
/// </summary>
|
2014-01-08 22:22:54 +00:00
|
|
|
|
public class VolumeChangeEventArgs
|
|
|
|
|
{
|
2015-07-07 17:11:11 +01:00
|
|
|
|
public double OldVolume { get; set; }
|
|
|
|
|
public double NewVolume { get; set; }
|
2014-01-08 22:22:54 +00:00
|
|
|
|
}
|
2015-10-16 23:44:35 +01:00
|
|
|
|
|
2014-02-13 13:23:52 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Event gets triggered, when the tracktime changes
|
|
|
|
|
/// </summary>
|
2014-01-10 07:09:14 +00:00
|
|
|
|
public class TrackTimeChangeEventArgs
|
|
|
|
|
{
|
2015-07-07 17:11:11 +01:00
|
|
|
|
public double TrackTime { get; set; }
|
2014-01-10 07:09:14 +00:00
|
|
|
|
}
|
2015-10-16 23:44:35 +01:00
|
|
|
|
}
|