Android.App.ContentSafety Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides APIs to request content classification and receive its result.
Classes
| Name | Description |
|---|---|
| ClassifiableContent |
A class representing content to be classified. |
| ClassifiableContent.Builder |
Builder for |
| ClassifiableContent.InterfaceConsts |
Contains the parcel constants exposed by the ClassifiableContent binding. |
| ContentClassificationResult |
A result reported by a Content Safety app in response to a content classification request. |
| ContentClassificationResult.InterfaceConsts |
Contains the parcel constants exposed by the ContentClassificationResult binding. |
| ContentSafetyManager |
The ContentSafetyManager provides access to content safety features. |
Interfaces
| Name | Description |
|---|---|
| IContentClassificationCallback |
Callback for receiving content classification results. |
Enums
| Name | Description |
|---|---|
| ContentClassificationType |
Specifies the classification stored in a ContentClassificationResult. |
Remarks
Use ClassifiableContent.Builder to describe the content and RequestContentClassification(ClassifiableContent, IExecutor, IContentClassificationCallback) to submit it. Implement IContentClassificationCallback to receive a ContentClassificationResult.