共用方式為


ActivityManager.RunningServiceInfo.Pid Property

Definition

If non-zero, this is the process the service is running in.

[Android.Runtime.Register("pid")]
public int Pid { get; set; }
[<Android.Runtime.Register("pid")>]
member this.Pid : int with get, set

Property Value

Attributes

Remarks

If non-zero, this is the process the service is running in.

Java documentation for android.app.ActivityManager.RunningServiceInfo.pid.

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