AbstractAccountAuthenticator.EditProperties Method

Definition

Returns a Bundle that contains the Intent of the activity that can be used to edit the properties.

[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

Parameters

response
AccountAuthenticatorResponse

used to set the result for the request. If the Constants.INTENT_KEY is set in the bundle then this response field is to be used for sending future results if and when the Intent is started.

accountType
String

the AccountType whose properties are to be edited.

Returns

a Bundle containing the result or the Intent to start to continue the request. If this is null then the request is considered to still be active and the result should sent later using response.

Attributes

Remarks

Returns a Bundle that contains the Intent of the activity that can be used to edit the properties. In order to indicate success the activity should call response.setResult() with a non-null Bundle.

Java documentation for android.accounts.AbstractAccountAuthenticator.editProperties(android.accounts.AccountAuthenticatorResponse, java.lang.String).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to