共用方式為


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

Returns

Attributes

Remarks

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

Java documentation for android.app.LauncherActivity.onQueryPackageManager(android.content.Intent).

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