mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-26 07:56:26 +00:00
37 lines
953 B
C#
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; }
|
|
}
|
|
}
|