Language

ContentSafetyManager.RequestContentClassification Method

Definition

Requests classification of the specified content.

[Android.Runtime.Register("requestContentClassification", "(Landroid/app/contentsafety/ClassifiableContent;Ljava/util/concurrent/Executor;Landroid/app/contentsafety/ContentClassificationCallback;)V", "", ApiSince=37)]
public void RequestContentClassification(Android.App.ContentSafety.ClassifiableContent content, Java.Util.Concurrent.IExecutor executor, Android.App.ContentSafety.IContentClassificationCallback callback);
[<Android.Runtime.Register("requestContentClassification", "(Landroid/app/contentsafety/ClassifiableContent;Ljava/util/concurrent/Executor;Landroid/app/contentsafety/ContentClassificationCallback;)V", "", ApiSince=37)>]
member this.RequestContentClassification : Android.App.ContentSafety.ClassifiableContent * Java.Util.Concurrent.IExecutor * Android.App.ContentSafety.IContentClassificationCallback -> unit

Parameters

content
ClassifiableContent

the content to be classified

executor
IExecutor

the executor on which to run the callback

callback
IContentClassificationCallback

the callback to receive the classification result

Attributes

Applies to