screenshot-detector
v0.0.4
Published
Detecta capturas de pantalla en iOS y notifica a la app para ocultar contenido sensible como códigos QR.
Readme
screenshot-detector
Detecta capturas de pantalla en iOS y notifica a la app para ocultar contenido sensible como códigos QR.
Install
npm install screenshot-detector
npx cap syncAPI
echo(...)
echo(options: { value: string; }) => Promise<{ value: string; }>| Param | Type |
| ------------- | ------------------------------- |
| options | { value: string; } |
Returns: Promise<{ value: string; }>
addListener('screenshotTaken', ...)
addListener(eventName: 'screenshotTaken', listenerFunc: () => void) => Promise<{ remove: () => void; }>| Param | Type |
| ------------------ | ------------------------------ |
| eventName | 'screenshotTaken' |
| listenerFunc | () => void |
Returns: Promise<{ remove: () => void; }>
