共用方式為


AbstractAccountAuthenticator.EditProperties 方法

定義

傳回套件組合,其中包含可用來編輯屬性的活動意圖。

[Android.Runtime.Register("editProperties", "(Landroid/accounts/AccountAuthenticatorResponse;Ljava/lang/String;)Landroid/os/Bundle;", "GetEditProperties_Landroid_accounts_AccountAuthenticatorResponse_Ljava_lang_String_Handler")]
public abstract Android.OS.Bundle? EditProperties(Android.Accounts.AccountAuthenticatorResponse? response, string? accountType);
[<Android.Runtime.Register("editProperties", "(Landroid/accounts/AccountAuthenticatorResponse;Ljava/lang/String;)Landroid/os/Bundle;", "GetEditProperties_Landroid_accounts_AccountAuthenticatorResponse_Ljava_lang_String_Handler")>]
abstract member EditProperties : Android.Accounts.AccountAuthenticatorResponse * string -> Android.OS.Bundle

參數

response
AccountAuthenticatorResponse

用來設定要求的結果。 如果套件組合中已設定Constants.INTENT_KEY,則此回應字段將用於在意圖啟動時傳送未來的結果。

accountType
String

要編輯其屬性的 AccountType。

傳回

包含結果或意圖的套件組合,以繼續要求。 如果這是 Null,則會將要求視為仍在使用中,且結果應該會在稍後使用回應傳送。

屬性

備註

傳回套件組合,其中包含可用來編輯屬性的活動意圖。 為了表示成功,活動應該呼叫具有非 Null 套件組合的 response.setResult()。

android.accounts.AbstractAccountAuthenticator.editProperties(android.accounts.AccountAuthenticatorResponse, java.lang.String)Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於