You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
improv32 edited this page Jul 28, 2012
·
4 revisions
To use the API:
This will login, do a search, and do a concurrent callback to the calling thread without blocking.
publicvoidmyFunction()
{
FranticMeAPIfm = newFranticMeAPI("username", "password");
fm.search("your query", newICallback<FMPlayer[]>()
{
// This is called when the query finishespublicvoidonFinish(FMPlayer[] results)
{
doSomethingWithTheResults(results);
}
});
}