Language

ContentSafetyAppService.OnClassifyContent(ClassifiableContent) Method

Definition

Called when content needs to be classified.

[Android.Runtime.Register("onClassifyContent", "(Landroid/app/contentsafety/ClassifiableContent;)Landroid/app/contentsafety/ContentClassificationResult;", "GetOnClassifyContent_Landroid_app_contentsafety_ClassifiableContent_Handler", ApiSince=37)]
public abstract Android.App.ContentSafety.ContentClassificationResult OnClassifyContent(Android.App.ContentSafety.ClassifiableContent content);
[<Android.Runtime.Register("onClassifyContent", "(Landroid/app/contentsafety/ClassifiableContent;)Landroid/app/contentsafety/ContentClassificationResult;", "GetOnClassifyContent_Landroid_app_contentsafety_ClassifiableContent_Handler", ApiSince=37)>]
abstract member OnClassifyContent : Android.App.ContentSafety.ClassifiableContent -> Android.App.ContentSafety.ContentClassificationResult

Parameters

content
ClassifiableContent

the content to be classified

Returns

the content classification result

Attributes

Applies to