sp_session_config Struct Reference
[Session handling]

#include <api.h>


Data Fields

int api_version
 The version of the Spotify API your application is compiled with. Set to SPOTIFY_API_VERSION.
const char * cache_location
 The location where Spotify will write cache files.
const char * settings_location
 The location where Spotify will write settings files.
const void * application_key
 Your application key.
size_t application_key_size
 The size of the application key in bytes.
const char * user_agent
 "User-Agent" for your application - max 255 characters long
const sp_session_callbackscallbacks
 Delivery callbacks for session events, or NULL if you are not interested in any callbacks (not recommended!).
void * userdata
 User supplied data for your application.


Detailed Description

Session config
Examples:

jukebox.c, and session.c.


The documentation for this struct was generated from the following file:

Generated on Tue Apr 7 15:21:55 2009.
Copyright © 2006–2009 Spotify Ltd