@capgo/capacitor-privacy-screen
Capacitor API for protecting app content from the app switcher preview.
Overview
Section titled “Overview”Capacitor API for protecting app content from the app switcher preview.
Core Capabilities
Section titled “Core Capabilities”enable- Enables the privacy screen.disable- Disables the privacy screen.isEnabled- Returns the current enabled state.
Public API
Section titled “Public API”| Method | Description |
|---|---|
enable | Enables the privacy screen. |
disable | Disables the privacy screen. |
isEnabled | Returns the current enabled state. |
getPluginVersion | Returns the native implementation version marker. |
Source Of Truth
Section titled “Source Of Truth”This reference is synced from src/definitions.ts in capacitor-privacy-screen.