Public Member Functions | |
void | apiCall (in string aMethod, in nsIPropertyBag aArguments, in sbILastFmWebServicesResponse aCallback) |
ApiCall - Make an API call against the new Last.fm API See <http://www.last.fm/api/rest> for the list of API calls that are available. |
Definition at line 49 of file sbILastFmWebServices.idl.
void sbILastFmWebServices::apiCall | ( | in string | aMethod, | |
in nsIPropertyBag | aArguments, | |||
in sbILastFmWebServicesResponse | aCallback | |||
) |
ApiCall - Make an API call against the new Last.fm API See <http://www.last.fm/api/rest> for the list of API calls that are available.
aMethod | The method name. | |
aArguments | A property bag of arguments using key,value. This can also be a simple hash object: var args = { name: value, name2: value2 }; | |
aCallback | The callback to inform when complete, this can either be the sbILastFmWebServicesResponse or a function that resembles the responseReceived function in sbILastFmWebServicesResponse. |