AccountManager.IsCredentialsUpdateSuggested Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Vérifie si #updateCredentials le compte spécifié doit être appelé ou #startUpdateCredentialsSession doit être appelé.
[Android.Runtime.Register("isCredentialsUpdateSuggested", "(Landroid/accounts/Account;Ljava/lang/String;Landroid/accounts/AccountManagerCallback;Landroid/os/Handler;)Landroid/accounts/AccountManagerFuture;", "GetIsCredentialsUpdateSuggested_Landroid_accounts_Account_Ljava_lang_String_Landroid_accounts_AccountManagerCallback_Landroid_os_Handler_Handler", ApiSince=26)]
public virtual Android.Accounts.IAccountManagerFuture? IsCredentialsUpdateSuggested(Android.Accounts.Account? account, string? statusToken, Android.Accounts.IAccountManagerCallback? callback, Android.OS.Handler? handler);
[<Android.Runtime.Register("isCredentialsUpdateSuggested", "(Landroid/accounts/Account;Ljava/lang/String;Landroid/accounts/AccountManagerCallback;Landroid/os/Handler;)Landroid/accounts/AccountManagerFuture;", "GetIsCredentialsUpdateSuggested_Landroid_accounts_Account_Ljava_lang_String_Landroid_accounts_AccountManagerCallback_Landroid_os_Handler_Handler", ApiSince=26)>]
abstract member IsCredentialsUpdateSuggested : Android.Accounts.Account * string * Android.Accounts.IAccountManagerCallback * Android.OS.Handler -> Android.Accounts.IAccountManagerFuture
override this.IsCredentialsUpdateSuggested : Android.Accounts.Account * string * Android.Accounts.IAccountManagerCallback * Android.OS.Handler -> Android.Accounts.IAccountManagerFuture
Paramètres
- account
- Account
À Account vérifier si #updateCredentials ou #startUpdateCredentialsSession doit être appelé
- statusToken
- String
Chaîne de jeton pour vérifier l’état du compte
- callback
- IAccountManagerCallback
Rappel à appeler une fois la requête terminée, null pour aucun rappel
- handler
- Handler
Handler identification du thread de rappel, null pour le thread principal
Retours
Qui AccountManagerFuture se résout en booléen, true si les informations d’identification du compte doivent être mises à jour.
- Attributs
Remarques
Vérifie si #updateCredentials le compte spécifié doit être appelé ou #startUpdateCredentialsSession doit être appelé.
Cette méthode peut être appelée à partir de n’importe quel thread, mais elle AccountManagerFuture ne doit pas être utilisée sur le thread principal.
Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.