Android.App.ContentSafety 命名空間
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
提供 API 以請求內容分類並接收結果。
類別
| 名稱 | Description |
|---|---|
| ClassifiableContent |
一個代表待分類內容的類別。 |
| ClassifiableContent.Builder |
建構者 |
| ClassifiableContent.InterfaceConsts |
包含由 ClassifiableContent 綁定所暴露的 parcel 常數。 |
| ContentClassificationResult |
內容安全應用程式回應內容分類請求時回報的結果。 |
| ContentClassificationResult.InterfaceConsts |
包含由 ContentClassificationResult 綁定所暴露的 parcel 常數。 |
| ContentSafetyManager |
ContentSafetyManager 提供內容安全功能的存取權限。 |
介面
| 名稱 | Description |
|---|---|
| IContentClassificationCallback |
回撥以接收內容分類結果。 |
列舉
| 名稱 | Description |
|---|---|
| ContentClassificationType |
指定儲存在 ContentClassificationResult的分類。 |
備註
用來 ClassifiableContent.Builder 描述內容並 RequestContentClassification(ClassifiableContent, IExecutor, IContentClassificationCallback) 提交。 實作 IContentClassificationCallback 以接收 ContentClassificationResult。