LauncherApps.ShortcutQuery.FlagMatchPinnedByAnyLauncher 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.
Caution
This constant will be removed in the future version. Use Android.Content.PM.LauncherAppsShortcutQueryFlags enum directly instead of this field.
Include all pinned shortcuts by any launchers, not just by the caller, in the result.
[Android.Runtime.Register("FLAG_MATCH_PINNED_BY_ANY_LAUNCHER", ApiSince=28)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Content.PM.LauncherAppsShortcutQueryFlags enum directly instead of this field.", true)]
public const Android.Content.PM.LauncherAppsShortcutQueryFlags FlagMatchPinnedByAnyLauncher = 1024;
[<Android.Runtime.Register("FLAG_MATCH_PINNED_BY_ANY_LAUNCHER", ApiSince=28)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Content.PM.LauncherAppsShortcutQueryFlags enum directly instead of this field.", true)>]
val mutable FlagMatchPinnedByAnyLauncher : Android.Content.PM.LauncherAppsShortcutQueryFlags
Field Value
Value = 1024- Attributes
Remarks
Include all pinned shortcuts by any launchers, not just by the caller, in the result.
The caller must be the selected assistant app to use this flag, or have the system ACCESS_SHORTCUTS
permission.
If you are the selected assistant app, and wishes to fetch all shortcuts that the user owns on the launcher (or by other launchers, in case the user has multiple), use #FLAG_MATCH_PINNED_BY_ANY_LAUNCHER
instead.
If you're a regular launcher app (or any app that's not the selected assistant app) then this flag will be ignored.
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.