{
  "api": {
    "name": "PrivacyScreenPlugin",
    "slug": "privacyscreenplugin",
    "docs": "",
    "tags": [],
    "methods": [
      {
        "name": "enable",
        "signature": "() => Promise<void>",
        "parameters": [],
        "returns": "Promise<void>",
        "tags": [
          {
            "name": "since",
            "text": "1.1.0"
          }
        ],
        "docs": "Enables the privacy screen protection.\n\nOnly available for Android and iOS.",
        "complexTypes": [],
        "slug": "enable"
      },
      {
        "name": "disable",
        "signature": "() => Promise<void>",
        "parameters": [],
        "returns": "Promise<void>",
        "tags": [
          {
            "name": "since",
            "text": "1.1.0"
          }
        ],
        "docs": "Disables the privacy screen protection.\n\nOnly available for Android and iOS.",
        "complexTypes": [],
        "slug": "disable"
      },
      {
        "name": "addListener",
        "signature": "(eventName: 'screenRecordingStarted', listenerFunc: () => void) => Promise<PluginListenerHandle>",
        "parameters": [
          {
            "name": "eventName",
            "docs": "",
            "type": "'screenRecordingStarted'"
          },
          {
            "name": "listenerFunc",
            "docs": "",
            "type": "() => void"
          }
        ],
        "returns": "Promise<PluginListenerHandle>",
        "tags": [
          {
            "name": "since",
            "text": "3.0.2"
          }
        ],
        "docs": "Called when the screen recording is started.\n\nOnly available on iOS for now.",
        "complexTypes": [
          "PluginListenerHandle"
        ],
        "slug": "addlistenerscreenrecordingstarted-"
      },
      {
        "name": "addListener",
        "signature": "(eventName: 'screenRecordingStopped', listenerFunc: () => void) => Promise<PluginListenerHandle>",
        "parameters": [
          {
            "name": "eventName",
            "docs": "",
            "type": "'screenRecordingStopped'"
          },
          {
            "name": "listenerFunc",
            "docs": "",
            "type": "() => void"
          }
        ],
        "returns": "Promise<PluginListenerHandle>",
        "tags": [
          {
            "name": "since",
            "text": "3.0.2"
          }
        ],
        "docs": "Called when the screen recording is stopped.\n\nOnly available on iOS for now.",
        "complexTypes": [
          "PluginListenerHandle"
        ],
        "slug": "addlistenerscreenrecordingstopped-"
      },
      {
        "name": "addListener",
        "signature": "(eventName: 'screenshotTaken', listenerFunc: () => void) => Promise<PluginListenerHandle>",
        "parameters": [
          {
            "name": "eventName",
            "docs": "",
            "type": "'screenshotTaken'"
          },
          {
            "name": "listenerFunc",
            "docs": "",
            "type": "() => void"
          }
        ],
        "returns": "Promise<PluginListenerHandle>",
        "tags": [
          {
            "name": "since",
            "text": "3.2.0"
          }
        ],
        "docs": "Called when the screenshot is taken.\n\nOnly available on iOS for now.",
        "complexTypes": [
          "PluginListenerHandle"
        ],
        "slug": "addlistenerscreenshottaken-"
      },
      {
        "name": "removeAllListeners",
        "signature": "() => Promise<void>",
        "parameters": [],
        "returns": "Promise<void>",
        "tags": [
          {
            "name": "since",
            "text": "3.0.2"
          }
        ],
        "docs": "Remove all listeners for this plugin.",
        "complexTypes": [],
        "slug": "removealllisteners"
      }
    ],
    "properties": []
  },
  "interfaces": [
    {
      "name": "PluginListenerHandle",
      "slug": "pluginlistenerhandle",
      "docs": "",
      "tags": [],
      "methods": [],
      "properties": [
        {
          "name": "remove",
          "tags": [],
          "docs": "",
          "complexTypes": [],
          "type": "() => Promise<void>"
        }
      ]
    }
  ],
  "enums": [],
  "typeAliases": [],
  "pluginConfigs": [
    {
      "name": "PrivacyScreen",
      "slug": "privacyscreen",
      "properties": [
        {
          "name": "enable",
          "tags": [
            {
              "text": "true",
              "name": "default"
            },
            {
              "text": "true",
              "name": "example"
            }
          ],
          "docs": "Configure whether the plugin should be enabled from startup.\n\nOnly available for Android and iOS.",
          "complexTypes": [],
          "type": "boolean | undefined"
        },
        {
          "name": "imageName",
          "tags": [
            {
              "text": "\"\"",
              "name": "default"
            },
            {
              "text": "\"Splashscreen\"",
              "name": "example"
            }
          ],
          "docs": "Configure whether the plugin should display a custom image from assets instead of a default background gray for the privacy screen.\n\nOnly available for iOS.",
          "complexTypes": [],
          "type": "string | undefined"
        },
        {
          "name": "contentMode",
          "tags": [
            {
              "text": "\"center\"",
              "name": "default"
            },
            {
              "text": "\"scaleAspectFit\"",
              "name": "example"
            },
            {
              "text": "https ://developer.apple.com/documentation/uikit/uiview/1622619-contentmode",
              "name": "see"
            }
          ],
          "docs": "Configure the content mode of displayed image.\n\nOnly available for iOS.",
          "complexTypes": [],
          "type": "'center' | 'scaleToFill' | 'scaleAspectFit' | 'scaleAspectFill' | undefined"
        },
        {
          "name": "preventScreenshots",
          "tags": [
            {
              "text": "true",
              "name": "default"
            },
            {
              "text": "false",
              "name": "example"
            },
            {
              "text": "5.2.0",
              "name": "since"
            }
          ],
          "docs": "Configure whether the plugin should prevent screenshots if enabled.\n\nOnly available for iOS.",
          "complexTypes": [],
          "type": "boolean | undefined"
        }
      ],
      "docs": "These configuration values are available:"
    }
  ]
}