Android.Test.Mock.MockPackageManager.QueryIntentActivities Method
Retrieve all activities that can be performed for the given intent.

Syntax

[Android.Runtime.Register("queryIntentActivities", "(Landroid/content/Intent;I)Ljava/util/List;", "GetQueryIntentActivities_Landroid_content_Intent_IHandler")]
public override IList<Android.Content.PM.ResolveInfo> QueryIntentActivities (Android.Content.Intent intent, [Android.Runtime.GeneratedEnum] Android.Content.PM.PackageInfoFlags flags)

Parameters

intent
The desired intent as per resolveActivity().
flags
Additional option flags. The most important is Android.Content.PM.PackageManager.MATCH_DEFAULT_ONLY, to limit the resolution to only those activities that support the Android.Content.Intent.CategoryDefault.

Returns

Documentation for this section has not yet been entered.

Remarks

Retrieve all activities that can be performed for the given intent.

[Android Documentation]

Requirements

Namespace: Android.Test.Mock
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1