Searched refs:preventScreenCaptureAsync (Results 1 – 12 of 12) sorted by relevance
10 expect(ScreenCapture.preventScreenCaptureAsync).toBeDefined();40 await ScreenCapture.preventScreenCaptureAsync();41 await ScreenCapture.preventScreenCaptureAsync();50 await ScreenCapture.preventScreenCaptureAsync('foo');58 await ScreenCapture.preventScreenCaptureAsync('foo');59 await ScreenCapture.preventScreenCaptureAsync('foo');65 await ScreenCapture.preventScreenCaptureAsync('foo');66 await ScreenCapture.preventScreenCaptureAsync('bar');
9 expect(ScreenCapture.preventScreenCaptureAsync).toBeDefined();35 await expect(ScreenCapture.preventScreenCaptureAsync).rejects.toThrowError('not available');
30 export async function preventScreenCaptureAsync(key = 'default') { function69 preventScreenCaptureAsync(key);
21 export declare function preventScreenCaptureAsync(key?: string): Promise<void>;
1 …preventScreenCaptureAsync`\n * and `allowScreenCaptureAsync` methods (and `usePreventScreenCapture…
35 export async function preventScreenCaptureAsync(key: string = 'default'): Promise<void> { function78 preventScreenCaptureAsync(key);
26 ScreenCapture.preventScreenCaptureAsync();
78 await ScreenCapture.preventScreenCaptureAsync();