语言

Settings.ActionRequestSetAutofillService 字段

定义

活动操作:显示允许用户选择其自动填充服务的屏幕。

[Android.Runtime.Register("ACTION_REQUEST_SET_AUTOFILL_SERVICE", ApiSince=26)]
public const string ActionRequestSetAutofillService;
[<Android.Runtime.Register("ACTION_REQUEST_SET_AUTOFILL_SERVICE", ApiSince=26)>]
val mutable ActionRequestSetAutofillService : string

字段值

特性

注解

活动操作:显示允许用户选择其自动填充服务的屏幕。

输入:使用“包”架构(如“package:com.my.app”)使用应用程序包名称设置意向的数据 URI 集。

输出: android.app.Activity#RESULT_OK 如果用户选择了属于调用方包的自动填充服务。

注意: 应用程序应调用android.view.autofill.AutofillManager#hasEnabledAutofillServices(),android.view.autofill.AutofillManager#isAutofillSupported()并且仅当应用程序返回时true以及分别使用false此操作来启动活动。

Java文档android.provider.Settings.ACTION_REQUEST_SET_AUTOFILL_SERVICE。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于