Spotify.NET/SpotifyAPI/Local/LocalEvents.cs

39 lines
955 B
C#
Raw Permalink Normal View History

using SpotifyAPI.Local.Models;
using System;
2014-01-08 22:22:54 +00: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
{
public Track OldTrack { get; set; }
public Track NewTrack { get; set; }
2014-01-08 22:22:54 +00: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
{
public Boolean Playing { get; set; }
2014-01-08 22:22:54 +00: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
{
public double OldVolume { get; set; }
public double NewVolume { get; set; }
2014-01-08 22:22:54 +00: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
{
public double TrackTime { get; set; }
2014-01-10 07:09:14 +00:00
}
}