ContentSafetyManager.CreateContentRestrictedIntent(LocusId) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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