Megosztás a következőn keresztül:


Settings.ActionRequestSetAutofillService Field

Definition

Activity Action: Show screen that let user select its Autofill Service.

[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

Field Value

Attributes

Remarks

Activity Action: Show screen that let user select its Autofill Service.

Input: Intent's data URI set with an application name, using the "package" schema (like "package:com.my.app").

Output: android.app.Activity#RESULT_OK if user selected an Autofill Service belonging to the caller package.

<b>NOTE: </b> Applications should call android.view.autofill.AutofillManager#hasEnabledAutofillServices() and android.view.autofill.AutofillManager#isAutofillSupported(), and only use this action to start an activity if they return false and true respectively.

Java documentation for android.provider.Settings.ACTION_REQUEST_SET_AUTOFILL_SERVICE.

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