PackageManager.GetInstrumentationInfo(ComponentName, PackageInfoFlags) Method

Definition

Retrieve all of the information we know about a particular instrumentation class.

[Android.Runtime.Register("getInstrumentationInfo", "(Landroid/content/ComponentName;I)Landroid/content/pm/InstrumentationInfo;", "GetGetInstrumentationInfo_Landroid_content_ComponentName_IHandler")]
public abstract Android.Content.PM.InstrumentationInfo GetInstrumentationInfo (Android.Content.ComponentName className, Android.Content.PM.PackageInfoFlags flags);
[<Android.Runtime.Register("getInstrumentationInfo", "(Landroid/content/ComponentName;I)Landroid/content/pm/InstrumentationInfo;", "GetGetInstrumentationInfo_Landroid_content_ComponentName_IHandler")>]
abstract member GetInstrumentationInfo : Android.Content.ComponentName * Android.Content.PM.PackageInfoFlags -> Android.Content.PM.InstrumentationInfo

Parameters

className
ComponentName

The full name (i.e. com.google.apps.contacts.InstrumentList) of an Instrumentation class.

flags
PackageInfoFlags

Additional option flags to modify the data returned.

Returns

An InstrumentationInfo object containing information about the instrumentation.

Attributes

Exceptions

Remarks

Retrieve all of the information we know about a particular instrumentation class.

Java documentation for android.content.pm.PackageManager.getInstrumentationInfo(android.content.ComponentName, int).

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