Language

ContentClassificationResult(LocusId, ContentClassificationType) コンストラクター

定義

新しいコンテンツ分類結果を作成します。

[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

パラメーター

locusId
LocusId

分類されたコンテンツの 1 つの値。 この値は null にすることはできません。

type
ContentClassificationType

コンテンツの分類の種類。 値は次のいずれかです: TYPE_UNCLASSIFIED;TYPE_ALLOWED;TYPE_WARNING;TYPE_BLOCKED

属性

注釈

新しいコンテンツ分類結果を作成します。

android.app.contentsafety.ContentClassificationResult.ContentClassificationResultの Android リファレンス。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象