Intent.ResolveActivityInfo(PackageManager, PackageInfoFlags) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Resolve the Intent into an ActivityInfo
describing the activity that should execute the intent.
[Android.Runtime.Register("resolveActivityInfo", "(Landroid/content/pm/PackageManager;I)Landroid/content/pm/ActivityInfo;", "GetResolveActivityInfo_Landroid_content_pm_PackageManager_IHandler")]
public virtual Android.Content.PM.ActivityInfo? ResolveActivityInfo (Android.Content.PM.PackageManager pm, Android.Content.PM.PackageInfoFlags flags);
[<Android.Runtime.Register("resolveActivityInfo", "(Landroid/content/pm/PackageManager;I)Landroid/content/pm/ActivityInfo;", "GetResolveActivityInfo_Landroid_content_pm_PackageManager_IHandler")>]
abstract member ResolveActivityInfo : Android.Content.PM.PackageManager * Android.Content.PM.PackageInfoFlags -> Android.Content.PM.ActivityInfo
override this.ResolveActivityInfo : Android.Content.PM.PackageManager * Android.Content.PM.PackageInfoFlags -> Android.Content.PM.ActivityInfo
Parameters
The package manager with which to resolve the Intent.
- flags
- PackageInfoFlags
Addition information to retrieve as per
PackageManager#getActivityInfo(ComponentName, int)
PackageManager.getActivityInfo()
.
Returns
PackageManager.ActivityInfo
- Attributes
Remarks
Resolve the Intent into an ActivityInfo
describing the activity that should execute the intent. Resolution follows the same rules as described for #resolveActivity
, but you get back the completely information about the resolved activity instead of just its class name.
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.