Searched refs:allowScreenCaptureAsync (Results 1 – 13 of 13) sorted by relevance
14 expect(ScreenCapture.allowScreenCaptureAsync).toBeDefined();43 await ScreenCapture.allowScreenCaptureAsync();51 await ScreenCapture.allowScreenCaptureAsync('bar');68 await ScreenCapture.allowScreenCaptureAsync('bar');75 await ScreenCapture.allowScreenCaptureAsync();76 await ScreenCapture.allowScreenCaptureAsync('foo');77 await ScreenCapture.allowScreenCaptureAsync('bar');
64 await ScreenCapture.allowScreenCaptureAsync();65 await ScreenCapture.allowScreenCaptureAsync('foo');66 await ScreenCapture.allowScreenCaptureAsync('bar');
13 expect(ScreenCapture.allowScreenCaptureAsync).toBeDefined();39 await expect(ScreenCapture.allowScreenCaptureAsync).rejects.toThrowError('not available');
49 export async function allowScreenCaptureAsync(key = 'default') { function71 allowScreenCaptureAsync(key);
31 export declare function allowScreenCaptureAsync(key?: string): Promise<void>;
1 …allowScreenCaptureAsync` is called or the app is restarted. If you are\n * already preventing scre…
56 export async function allowScreenCaptureAsync(key: string = 'default'): Promise<void> { function81 allowScreenCaptureAsync(key);
24 ScreenCapture.allowScreenCaptureAsync();
82 await ScreenCapture.allowScreenCaptureAsync();