spotifywebapipython.zeroconfapi.zeroconfresponse
Spotify Zeroconf API basic response object.
Initializes a new instance of the class.
Arguments:
- root (dict): Spotify Web API JSON response in dictionary format, used to load object attributes; otherwise, None to not load attributes.
In a Google Cast Spotify Connect session, the interactionId (sometimes seen as interactionIDs, interaction_id, or similar in logs or APIs) is a unique identifier assigned to track and correlate events or commands related to a specific user interaction or session lifecycle (e.g. play, pause, volume change, add user, etc).
Spotify client apps (e.g. mobile app, desktop app, or embedded SDK like Librespot) are responsible for generating and attaching the interactionId. This is usually done just before the getInfo message call, so that it can be included in the getInfo payload.
It is usually a UUID (Universally Unique Identifier) or similarly unique string.
The last error code returned by a Spotify API call or the SpCallbackError() callback (e.g. 0, -119, etc).