Android.Accounts.AccountAuthenticatorActivity Class
Base class for implementing an Activity that is used to help implement an AbstractAccountAuthenticator.

See Also: AccountAuthenticatorActivity Members

Syntax

[Android.Runtime.Register("android/accounts/AccountAuthenticatorActivity", DoNotGenerateAcw=true)]
public class AccountAuthenticatorActivity : Android.App.Activity

Remarks

Base class for implementing an Activity that is used to help implement an AbstractAccountAuthenticator. If the AbstractAccountAuthenticator needs to use an activity to handle the request then it can have the activity extend AccountAuthenticatorActivity. The AbstractAccountAuthenticator passes in the response to the intent using the following:

java Example

      intent.putExtra(KEY_ACCOUNT_AUTHENTICATOR_RESPONSE, response);
 
The activity then sets the result that is to be handed to the response via AccountAuthenticatorActivity.SetAccountAuthenticatorResult(Android.OS.Bundle). This result will be sent as the result of the request when the activity finishes. If this is never set or if it is set to null then error AccountManager.ErrorCodeCanceled will be called on the response.

[Android Documentation]

Requirements

Namespace: Android.Accounts
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 5