Spotify.NET/SpotifyAPI/Local/LocalEvents.cs
2015-07-07 18:11:11 +02:00

37 lines
953 B
C#

using System;
using SpotifyAPI.Local.Models;
namespace SpotifyAPI.Local
{
/// <summary>
/// Event gets triggered, when the Track is changed
/// </summary>
public class TrackChangeEventArgs
{
public Track OldTrack { get; set; }
public Track NewTrack { get; set; }
}
/// <summary>
/// Event gets triggered, when the Playin-state is changed (e.g Play --> Pause)
/// </summary>
public class PlayStateEventArgs
{
public Boolean Playing { get; set; }
}
/// <summary>
/// Event gets triggered, when the volume changes
/// </summary>
public class VolumeChangeEventArgs
{
public double OldVolume { get; set; }
public double NewVolume { get; set; }
}
/// <summary>
/// Event gets triggered, when the tracktime changes
/// </summary>
public class TrackTimeChangeEventArgs
{
public double TrackTime { get; set; }
}
}