Share via


SettingsPreferenceService.ActionPreferenceService Field

Definition

Intent Action corresponding to a SettingsPreferenceService.

[Android.Runtime.Register("ACTION_PREFERENCE_SERVICE", ApiSince=36)]
public const string ActionPreferenceService;
[<Android.Runtime.Register("ACTION_PREFERENCE_SERVICE", ApiSince=36)>]
val mutable ActionPreferenceService : string

Field Value

Attributes

Remarks

Intent Action corresponding to a SettingsPreferenceService. Note that any checks for such services must be accompanied by a check to ensure the host is a system application. Given an android.content.pm.ApplicationInfo you can check for android.content.pm.ApplicationInfo#FLAG_SYSTEM, or when querying PackageManager#queryIntentServices you can provide the flag PackageManager#MATCH_SYSTEM_ONLY.

Java documentation for android.service.settings.preferences.SettingsPreferenceService.ACTION_PREFERENCE_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