J
John Goche
Hello,
I am looking at the java code on the following page:
http://gnuc.in/resources/archives/1404
There I find the following, but I do not
understand the syntax Auth.background() { ... }
public void checkAccount(final Account account)
{
Auth.background()
{
@Override
public void run()
{
Auth.checkAccount(account, this, new CustomCallback()
{
@Override
public void handle(int resultCode)
{
// ...
}
});
}
});
}
Can someone please explain the syntax Auth.background() { ... } .
I understand the rest of the syntax.
Thanks,
John Goche
I am looking at the java code on the following page:
http://gnuc.in/resources/archives/1404
There I find the following, but I do not
understand the syntax Auth.background() { ... }
public void checkAccount(final Account account)
{
Auth.background()
{
@Override
public void run()
{
Auth.checkAccount(account, this, new CustomCallback()
{
@Override
public void handle(int resultCode)
{
// ...
}
});
}
});
}
Can someone please explain the syntax Auth.background() { ... } .
I understand the rest of the syntax.
Thanks,
John Goche