Megosztás a következőn keresztül:


InstrumentationInfo.TargetProcesses Property

Definition

Names of the process(es) this instrumentation will run in.

[Android.Runtime.Register("targetProcesses", ApiSince=26)]
public string? TargetProcesses { get; set; }
[<Android.Runtime.Register("targetProcesses", ApiSince=26)>]
member this.TargetProcesses : string with get, set

Property Value

Attributes

Remarks

Names of the process(es) this instrumentation will run in. If not specified, only runs in the main process of the targetPackage. Can either be a comma-separated list of process names or '*' for any process that launches to run targetPackage code.

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

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