2014-01-08 22:22:54 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
namespace SpotifyAPIv1
|
|
|
|
|
{
|
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 old_track { get; set; }
|
|
|
|
|
public Track new_track { get; set; }
|
|
|
|
|
}
|
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-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 old_volume { get; set; }
|
|
|
|
|
public double new_volume { get; set; }
|
|
|
|
|
}
|
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 track_time { get; set; }
|
|
|
|
|
}
|
2014-01-08 22:22:54 +00:00
|
|
|
|
}
|