de><a href="../../reference/android/os/Bundle.html">Bundle</a></code>.</p>

<p>Here's how you can get the token from the <code><a href="../../reference/android/os/Bundle.html">Bundle</a></code>:</p>

<pre>
private class OnTokenAcquired implements AccountManagerCallback&lt;Bundle&gt; {
    &#64;Override
    public void run(AccountManagerFuture&lt;Bundle&gt; result) {
        // Get the result of the operation from the AccountManagerFuture.
        Bundle bundle = result.getResult();
    
        // The token