語言

PackageManager.GetAppUidForPrivateComputeCoreUid(Int32) 方法

定義

將私有運算核心(PCC)的 UID 對應到其對應的應用程式 UID。

[Android.Runtime.Register("getAppUidForPrivateComputeCoreUid", "(I)I", "GetGetAppUidForPrivateComputeCoreUid_IHandler", ApiSince=37)]
public virtual int GetAppUidForPrivateComputeCoreUid(int pccUid);
[<Android.Runtime.Register("getAppUidForPrivateComputeCoreUid", "(I)I", "GetGetAppUidForPrivateComputeCoreUid_IHandler", ApiSince=37)>]
abstract member GetAppUidForPrivateComputeCoreUid : int -> int
override this.GetAppUidForPrivateComputeCoreUid : int -> int

參數

pccUid
Int32

PCC 的 UID 映射。

傳回

對應的應用程式 UID,或 Process#INVALID_UID 若提供的 UID 不是有效的 PCC UID,或是沒有映射。

屬性

備註

將私有運算核心(PCC)的 UID 對應到其對應的應用程式 UID。

Android 參考資料。android.content.pm.PackageManager.getAppUidForPrivateComputeCoreUid

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於