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
const char * settings_location
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.
bool tiny_settings


Detailed Description

Session config

Field Documentation

The location where Spotify will write cache files. This cache include tracks, cached browse results and coverarts Set to empty string ("") to disable cache

The location where Spotify will write setting files and per-user cache items. This includes playlists, track metadata, etc

Try to reduce the amount of data stored in the metadata cache without affecting the user experience too much.


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

Generated on Wed Nov 3 12:46:15 2010.
Copyright © 2006–2009 Spotify Ltd