AttributionSource.Builder.SetPid(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The PID of the process that is accessing the permission protected data. If not called on a builder created with Builder(int), pid will default to Process.INVALID_PID (-1). This indicates that the PID data is missing. Supplying a PID is not required, but recommended when accessible. A builder created with Builder(AttributionSource) keeps the PID of that source.
[Android.Runtime.Register("setPid", "(I)Landroid/content/AttributionSource$Builder;", "", ApiSince=34)]
public Android.Content.AttributionSource.Builder SetPid(int value);
[<Android.Runtime.Register("setPid", "(I)Landroid/content/AttributionSource$Builder;", "", ApiSince=34)>]
member this.SetPid : int -> Android.Content.AttributionSource.Builder
Parameters
- value
- Int32
The value to set.
Returns
This value cannot be null .
- Attributes
Remarks
The PID of the process that is accessing the permission protected data. If not called on a builder created with Builder(int), pid will default to Process.INVALID_PID (-1). This indicates that the PID data is missing. Supplying a PID is not required, but recommended when accessible. A builder created with Builder(AttributionSource) keeps the PID of that source.
Java documentation for android.content.AttributionSource.Builder.setPid(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.