SettingsPreferenceService.ActionPreferenceService Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.
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.