語言

ContentClassificationType 列舉

定義

指定儲存在 ContentClassificationResult的分類。

public enum ContentClassificationType
type ContentClassificationType = 
繼承
ContentClassificationType

欄位

名稱 值 Description
Unclassified 0

表示內容無法被分類。

Android 參考資料。android.app.contentsafety.ContentClassificationResult.TYPE_UNCLASSIFIED

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

Allowed 1

表示該內容是允許的。

Android 參考資料。android.app.contentsafety.ContentClassificationResult.TYPE_ALLOWED

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

Warning 2

表示內容應發出警告。

Android 參考資料。android.app.contentsafety.ContentClassificationResult.TYPE_WARNING

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

Blocked 3

表示內容應該被封鎖。

Android 參考資料。android.app.contentsafety.ContentClassificationResult.TYPE_BLOCKED

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

備註

ContentClassificationResult建構子接受其中一個值,其Type屬性會回傳儲存的值。

適用於