Language

PccSandboxManager.IsPrivateComputeServicesUid(Int32) Method

Definition

Returns whether the given UID belongs to a Private Compute Services (PCS) package.

[Android.Runtime.Register("isPrivateComputeServicesUid", "(I)Z", "", ApiSince=37)]
public bool IsPrivateComputeServicesUid(int uid);
[<Android.Runtime.Register("isPrivateComputeServicesUid", "(I)Z", "", ApiSince=37)>]
member this.IsPrivateComputeServicesUid : int -> bool

Parameters

uid
Int32

The UID to check.

Returns

true if the UID belongs to a PCS package, false otherwise.

Attributes

Remarks

Returns whether the given UID belongs to a Private Compute Services (PCS) package. These are packages that hold the Manifest.permission.PROVIDE_PRIVATE_COMPUTE_SERVICES.

Android reference for android.app.privatecompute.PccSandboxManager.isPrivateComputeServicesUid.

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