{
  "api": {
    "name": "AppTrackingTransparencyPlugin",
    "slug": "apptrackingtransparencyplugin",
    "docs": "Capacitor App Tracking Transparency Plugin.\n\nA plugin to request and check user authorization for app tracking\non iOS devices. Uses Apple's App Tracking Transparency framework.",
    "tags": [
      {
        "text": "1.0.0",
        "name": "since"
      }
    ],
    "methods": [
      {
        "name": "getStatus",
        "signature": "() => Promise<AppTrackingStatusResponse>",
        "parameters": [],
        "returns": "Promise<AppTrackingStatusResponse>",
        "tags": [
          {
            "name": "returns",
            "text": "Promise that resolves with the current authorization status"
          },
          {
            "name": "throws",
            "text": "Error if getting status fails"
          },
          {
            "name": "since",
            "text": "1.0.0"
          },
          {
            "name": "example",
            "text": "```typescript\nconst { status } = await AppTrackingTransparency.getStatus();\nif (status === 'authorized') {\n  console.log('Tracking is authorized');\n}\n```"
          }
        ],
        "docs": "Gets the current tracking authorization status without prompting the user.",
        "complexTypes": [
          "AppTrackingStatusResponse"
        ],
        "slug": "getstatus"
      },
      {
        "name": "requestPermission",
        "signature": "() => Promise<AppTrackingStatusResponse>",
        "parameters": [],
        "returns": "Promise<AppTrackingStatusResponse>",
        "tags": [
          {
            "name": "returns",
            "text": "Promise that resolves with the authorization status after user response"
          },
          {
            "name": "throws",
            "text": "Error if requesting permission fails"
          },
          {
            "name": "since",
            "text": "1.0.0"
          },
          {
            "name": "example",
            "text": "```typescript\nconst { status } = await AppTrackingTransparency.requestPermission();\nswitch (status) {\n  case 'authorized':\n    console.log('User authorized tracking');\n    break;\n  case 'denied':\n    console.log('User denied tracking');\n    break;\n  case 'restricted':\n    console.log('Tracking is restricted');\n    break;\n  case 'notDetermined':\n    console.log('Status not determined');\n    break;\n}\n```"
          }
        ],
        "docs": "Requests user authorization to access app-related data for tracking.\nDisplays the native iOS tracking permission dialog.\n\nNote: This method will only show the dialog once. Subsequent calls\nwill return the stored authorization status without showing the dialog.",
        "complexTypes": [
          "AppTrackingStatusResponse"
        ],
        "slug": "requestpermission"
      },
      {
        "name": "getPluginVersion",
        "signature": "() => Promise<{ version: string; }>",
        "parameters": [],
        "returns": "Promise<{ version: string; }>",
        "tags": [
          {
            "name": "returns",
            "text": "Promise that resolves with the plugin version"
          },
          {
            "name": "throws",
            "text": "Error if getting the version fails"
          },
          {
            "name": "since",
            "text": "1.0.0"
          },
          {
            "name": "example",
            "text": "```typescript\nconst { version } = await AppTrackingTransparency.getPluginVersion();\nconsole.log('Plugin version:', version);\n```"
          }
        ],
        "docs": "Get the native Capacitor plugin version.",
        "complexTypes": [],
        "slug": "getpluginversion"
      }
    ],
    "properties": []
  },
  "interfaces": [
    {
      "name": "AppTrackingStatusResponse",
      "slug": "apptrackingstatusresponse",
      "docs": "Response object containing the tracking authorization status.",
      "tags": [
        {
          "text": "1.0.0",
          "name": "since"
        }
      ],
      "methods": [],
      "properties": [
        {
          "name": "status",
          "tags": [
            {
              "text": "1.0.0",
              "name": "since"
            }
          ],
          "docs": "The current tracking authorization status.",
          "complexTypes": [
            "AppTrackingStatus"
          ],
          "type": "AppTrackingStatus"
        }
      ]
    }
  ],
  "enums": [],
  "typeAliases": [
    {
      "name": "AppTrackingStatus",
      "slug": "apptrackingstatus",
      "docs": "Possible values for the tracking authorization status.\n\n- `authorized`: User has authorized access to app-related data for tracking\n- `denied`: User has denied access to app-related data for tracking\n- `notDetermined`: User has not yet received the authorization request\n- `restricted`: Authorization is restricted (e.g., parental controls, MDM)",
      "types": [
        {
          "text": "'authorized'",
          "complexTypes": []
        },
        {
          "text": "'denied'",
          "complexTypes": []
        },
        {
          "text": "'notDetermined'",
          "complexTypes": []
        },
        {
          "text": "'restricted'",
          "complexTypes": []
        }
      ]
    }
  ],
  "pluginConfigs": []
}