次の方法で共有


InstrumentationInfo.TargetPackage Property

Definition

The name of the application package being instrumented.

[Android.Runtime.Register("targetPackage")]
public string? TargetPackage { get; set; }
[<Android.Runtime.Register("targetPackage")>]
member this.TargetPackage : string with get, set

Property Value

Attributes

Remarks

The name of the application package being instrumented. From the "package" attribute.

Java documentation for android.content.pm.InstrumentationInfo.targetPackage.

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