Accountauthenticatoractivity Overview
This is an abstract base class for implementing activity, and is often used to help with the implementation of the Abstract Authenticator (Abstractaccountauthenticator) (implement). If the abstract authenticator abstractaccountauthenticator needs to use an activity to capture the request, it allows an activity to inherit accountauthenticatoractivity. The abstract authenticator Abstractaccountauthenticator passes the response to intent as follows:
Intent. PutExtra( KEY_ACCOUNT_AUTHENTICATOR_RESPONSE
, response);
When this activity sets (specifies) The result, the result is passed to the response through the Setaccountauthenticatorresult (Android.os.Bundle) method. When activity ends, the result is sent as the result of the request. If this has never been set or is set to NULL, then the errorERROR_CODE_CANCELED 将会在响应上被调用。
Translator Note: The Account authenticator invokes this activity through intent, passing parameters through intent:
Intent. PutExtra( KEY_ACCOUNT_AUTHENTICATOR_RESPONSE
, response
Setaccountauthenticatorresult (Android.os.Bundle) to set the result of the processing.
Android Chinese Translation-accountauthenticatoractivity overview