UNPKG

expo-screen-orientation

Version:

Expo universal module for managing device's screen orientation

12 lines (11 loc) 554 B
import { Orientation, OrientationLock, WebOrientationLock } from './ScreenOrientation.types'; declare const _default: { readonly name: string; supportsOrientationLockAsync(orientationLock: OrientationLock): Promise<boolean>; getPlatformOrientationLockAsync(): Promise<WebOrientationLock>; getOrientationAsync(): Promise<Orientation>; lockAsync(orientationLock: OrientationLock): Promise<void>; lockPlatformAsync(webOrientationLock: WebOrientationLock): Promise<void>; unlockAsync(): Promise<void>; }; export default _default;