forked from JohnnyCrazy/SpotifyAPI-NET
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLocalEvents.cs
More file actions
39 lines (35 loc) · 955 Bytes
/
LocalEvents.cs
File metadata and controls
39 lines (35 loc) · 955 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
using SpotifyAPI.Local.Models;
using System;
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; }
}
}