語言

PccEgressException.SensitiveCategoryInfo.IsCategoryDetected(Int64) 方法

定義

檢查偵測到的類別中是否存在指定的敏感類別標誌。

[Android.Runtime.Register("isCategoryDetected", "(J)Z", "", ApiSince=37)]
public bool IsCategoryDetected(long category);
[<Android.Runtime.Register("isCategoryDetected", "(J)Z", "", ApiSince=37)>]
member this.IsCategoryDetected : int64 -> bool

參數

category
Int64

要檢查的類別旗標(例如, #FLAG_CATEGORY_HEALTH)。

傳回

true 若該類別適用, false 否則。

屬性

備註

檢查偵測到的類別中是否存在指定的敏感類別標誌。

Android 參考資料。android.app.privatecompute.PccEgressException.SensitiveCategoryInfo.isCategoryDetected

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

適用於