Language

ContentSafetyManager.CreateContentRestrictedIntent(LocusId) Method

Definition

Creates an Intent that can be used with Context#startActivity(Intent) to display a dialog about the restricted content.

[Android.Runtime.Register("createContentRestrictedIntent", "(Landroid/content/LocusId;)Landroid/content/Intent;", "", ApiSince=37)]
public Android.Content.Intent? CreateContentRestrictedIntent(Android.Content.LocusId locusId);
[<Android.Runtime.Register("createContentRestrictedIntent", "(Landroid/content/LocusId;)Landroid/content/Intent;", "", ApiSince=37)>]
member this.CreateContentRestrictedIntent : Android.Content.LocusId -> Android.Content.Intent

Parameters

locusId
LocusId

the LocusId of the content to be restricted

Returns

the intent to display the restricted content dialog

Attributes

Applies to