Språk

LauncherActivity.OnQueryPackageManager(Intent) Method

Definition

Perform query on package manager for list items.

[Android.Runtime.Register("onQueryPackageManager", "(Landroid/content/Intent;)Ljava/util/List;", "GetOnQueryPackageManager_Landroid_content_Intent_Handler")]
protected virtual System.Collections.Generic.IList<Android.Content.PM.ResolveInfo>? OnQueryPackageManager(Android.Content.Intent? queryIntent);
[<Android.Runtime.Register("onQueryPackageManager", "(Landroid/content/Intent;)Ljava/util/List;", "GetOnQueryPackageManager_Landroid_content_Intent_Handler")>]
abstract member OnQueryPackageManager : Android.Content.Intent -> System.Collections.Generic.IList<Android.Content.PM.ResolveInfo>
override this.OnQueryPackageManager : Android.Content.Intent -> System.Collections.Generic.IList<Android.Content.PM.ResolveInfo>

Parameters

queryIntent
Intent

Intent

Returns

The package manager's activity-resolution results for the supplied intent with no query flags in the default implementation.

Attributes

Remarks

Perform query on package manager for list items. The default implementation queries for activities.

Android reference for android.app.LauncherActivity.onQueryPackageManager.

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