When I try to get the auth token from AccountManager
I need to call
AccountManagerFuture<Bundle> getAuthToken(Account account, String authTokenType, Bundle options, Activity activity, AccountManagerCallback<Bundle> callback, Handler handler);
What's difference between AccountManagerFuture<Bundle>
and AccountManagerCallback<Bundle>
? I read docs but it doesn't clearly.
P.S. Maybe, it's noobie question but I really cannot understand it from Google docs.