Language

ContentClassificationResult(LocusId, ContentClassificationType) Constructor

Definition

Creates a new content classification result.

[Android.Runtime.Register(".ctor", "(Landroid/content/LocusId;I)V", "", ApiSince=37)]
public ContentClassificationResult(Android.Content.LocusId locusId, Android.App.ContentSafety.ContentClassificationType type);
[<Android.Runtime.Register(".ctor", "(Landroid/content/LocusId;I)V", "", ApiSince=37)>]
new Android.App.ContentSafety.ContentClassificationResult : Android.Content.LocusId * Android.App.ContentSafety.ContentClassificationType -> Android.App.ContentSafety.ContentClassificationResult

Parameters

locusId
LocusId

the LocusId of the content that was classified. This value cannot be null.

type
ContentClassificationType

the classification type of the content. Value is one of the following: TYPE_UNCLASSIFIED; TYPE_ALLOWED; TYPE_WARNING; TYPE_BLOCKED

Attributes

Remarks

Creates a new content classification result.

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

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.

Applies to