PccSandboxManager.IsPrivateComputeServicesUid(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.
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.