Language

LauncherApps.ShortcutQuery.SetQueryFlags メソッド

定義

クエリ オプションを設定します。

[Android.Runtime.Register("setQueryFlags", "(I)Landroid/content/pm/LauncherApps$ShortcutQuery;", "GetSetQueryFlags_IHandler", ApiSince=25)]
public virtual Android.Content.PM.LauncherApps.ShortcutQuery? SetQueryFlags(Android.Content.PM.LauncherAppsShortcutQueryFlags queryFlags);
[<Android.Runtime.Register("setQueryFlags", "(I)Landroid/content/pm/LauncherApps$ShortcutQuery;", "GetSetQueryFlags_IHandler", ApiSince=25)>]
abstract member SetQueryFlags : Android.Content.PM.LauncherAppsShortcutQueryFlags -> Android.Content.PM.LauncherApps.ShortcutQuery
override this.SetQueryFlags : Android.Content.PM.LauncherAppsShortcutQueryFlags -> Android.Content.PM.LauncherApps.ShortcutQuery

パラメーター

queryFlags
LauncherAppsShortcutQueryFlags

値は 0 または次の組み合わせのいずれかです: FLAG_MATCH_DYNAMIC;FLAG_MATCH_PINNED;FLAG_MATCH_MANIFEST;FLAG_MATCH_CACHED;FLAG_MATCH_PINNED_BY_ANY_LAUNCHER;FLAG_GET_KEY_FIELDS_ONLY

返品

属性

注釈

クエリ オプションを設定します。 少なくとも 1 つの MATCH フラグを設定する必要があります。 それ以外の場合、ショートカットは返されません。

android.content.pm.LauncherApps.ShortcutQuery.setQueryFlagsの Android リファレンス。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象