PackageManager.QueryInstrumentation(String, PackageInfoFlags) PackageManager.QueryInstrumentation(String, PackageInfoFlags) Method

Definition

Retrieve information about available instrumentation code.

[Android.Runtime.Register("queryInstrumentation", "(Ljava/lang/String;I)Ljava/util/List;", "GetQueryInstrumentation_Ljava_lang_String_IHandler")]
public abstract System.Collections.Generic.IList<Android.Content.PM.InstrumentationInfo> QueryInstrumentation (string targetPackage, Android.Content.PM.PackageInfoFlags flags);
abstract member QueryInstrumentation : string * Android.Content.PM.PackageInfoFlags -> System.Collections.Generic.IList<Android.Content.PM.InstrumentationInfo>

Parameters

targetPackage
String String

If null, all instrumentation is returned; only the instrumentation targeting this package name is returned.

flags
PackageInfoFlags PackageInfoFlags

Additional option flags. Currently should always be 0.

Returns

Remarks

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