ContentClassificationResult(LocusId, ContentClassificationType) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立新的內容分類結果。
[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
該內容的機密地址。 這個值不可能為零值。
內容的分類類型。 Value 為下列之一: Unclassified; Allowed; Warning; Blocked
- 屬性
備註
建立新的內容分類結果。
Android 參考資料。android.app.contentsafety.ContentClassificationResult.ContentClassificationResult
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。