Searched refs:usePreventScreenCapture (Results 1 – 12 of 12) sorted by relevance
20 const hook = renderHook(() => ScreenCapture.usePreventScreenCapture());29 const hook = renderHook(() => ScreenCapture.usePreventScreenCapture());38 const hook = renderHook(({ key }) => ScreenCapture.usePreventScreenCapture(key));51 const hook1 = renderHook(() => ScreenCapture.usePreventScreenCapture());52 const hook2 = renderHook(({ key }) => ScreenCapture.usePreventScreenCapture(key));
17 expect(ScreenCapture.usePreventScreenCapture).toBeDefined();
18 expect(ScreenCapture.usePreventScreenCapture).toBeDefined();
40 export declare function usePreventScreenCapture(key?: string): void;
67 export function usePreventScreenCapture(key = 'default') { function
1 …usePreventScreenCapture` hook) from conflicting with each other.\n * When using multiple keys, you…
76 export function usePreventScreenCapture(key: string = 'default'): void { function
35 import { usePreventScreenCapture } from 'expo-screen-capture';40 usePreventScreenCapture();