AbstractAccountAuthenticator.EditProperties 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回一个捆绑包,其中包含可用于编辑属性的活动意向。
[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 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。