• Preparing search index...
  • The search index is not available
@duckduckgo/privacy-dashboard
  • @duckduckgo/privacy-dashboard
  • Android integration
  • onChangeConsentManaged

Function onChangeConsentManaged

  • onChangeConsentManaged(payload: CookiePromptManagementStatus): void

    Sets the current status of the Cookie Prompt Management.

    Platforms can provide this data to indicate that a Cookie Prompt was managed successfully.

    Note: if "Generated Schema Definitions".CookiePromptManagementStatus.configurable is true in the payload, the dashboard will use the secondary screen. If it is absent, or false, it will only show the row in the main nav, but it will not be clickable

    Example Payloads:

    Please see the schema definition for "Generated Schema Definitions".CookiePromptManagementStatus

    None-Configurable

    This would show the 4th row in the dashboard, but it would not be clickable

    Sample JSON 📝

    Configurable

    This would allow the link to be clicked, and it would show the secondary screen

    Sample JSON 📝

    Parameters

    • payload: CookiePromptManagementStatus

    Returns void

    • Defined in shared/js/browser/android-communication.js:244

Settings

Member Visibility

On This Page

Example Payloads:
@duckduckgo/privacy-dashboard
  • Loading...

Generated using TypeDoc