Lingua

LauncherApps.ShortcutQuery.SetQueryFlags Metodo

Definizione

Impostare le opzioni di query.

[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

Parametri

queryFlags
LauncherAppsShortcutQueryFlags

Il valore è 0 o una combinazione delle opzioni seguenti: FLAG_MATCH_DYNAMIC; FLAG_MATCH_PINNED; FLAG_MATCH_MANIFEST; FLAG_MATCH_CACHED; FLAG_MATCH_PINNED_BY_ANY_LAUNCHER; FLAG_GET_KEY_FIELDS_ONLY

Valori restituiti

Attributi

Commenti

Impostare le opzioni di query. È necessario impostare almeno uno dei flag MATCH. In caso contrario, non verranno restituiti collegamenti.

Informazioni di riferimento su Android per android.content.pm.LauncherApps.ShortcutQuery.setQueryFlags.

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a