語言

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

該內容的機密地址。 這個值不可能為零值。

type
ContentClassificationType

內容的分類類型。 Value 為下列之一: Unclassified; Allowed; Warning; Blocked

屬性

備註

建立新的內容分類結果。

Android 參考資料。android.app.contentsafety.ContentClassificationResult.ContentClassificationResult

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於