ContentSafetyManager.RequestContentClassification Method
Definition
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.
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