spotifywebapipython.spotifyconnect.spotifyconnectdeviceeventargs

class SpotifyConnectDeviceEventArgs:

Class used by various methods that inform interested parties that a Spotify Connect device update has occured.

Threadsafety:

This class is fully thread-safe.

Initializes a new instance of the class.

Arguments:
  • device (SpotifyConnectDevice): Spotify Connect device object that was affected.

Spotify Connect device object that was affected.

class SpotifyConnectDeviceEventHandler:

Event handler type definition for an event.

SpotifyConnectDeviceEventHandler( sender: object, e: SpotifyConnectDeviceEventArgs)

Initializes a new instance of the class.

Arguments:
  • sender (object): The object which fired the event.
  • e (SpotifyConnectDeviceEventArgs): Arguments that contain detailed information related to the event, and canceling of its processing.