Język

ContentClassificationType Enum

Definition

Specifies the classification stored in a ContentClassificationResult.

public enum ContentClassificationType
type ContentClassificationType = 
Inheritance
ContentClassificationType

Fields

Name Value Description
Unclassified 0

Indicates that the content could not be classified.

Android reference for android.app.contentsafety.ContentClassificationResult.TYPE_UNCLASSIFIED.

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.

Allowed 1

Indicates that the content is allowed.

Android reference for android.app.contentsafety.ContentClassificationResult.TYPE_ALLOWED.

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.

Warning 2

Indicates that a warning should be issued for the content.

Android reference for android.app.contentsafety.ContentClassificationResult.TYPE_WARNING.

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.

Blocked 3

Indicates that the content should be blocked.

Android reference for android.app.contentsafety.ContentClassificationResult.TYPE_BLOCKED.

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.

Remarks

The ContentClassificationResult constructor accepts one of these values, and its Type property returns the stored value.

Applies to