You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
516 B
11 lines
516 B
import { Subscription } from 'expo-modules-core';
|
|
import { KeepAwakeListener } from './KeepAwake.types';
|
|
/** Wraps the webWakeLock API https://developer.mozilla.org/en-US/docs/Web/API/Screen_Wake_Lock_API */
|
|
declare const _default: {
|
|
isAvailableAsync(): Promise<boolean>;
|
|
activate(tag: string): Promise<void>;
|
|
deactivate(tag: string): Promise<void>;
|
|
addListenerForTag(tag: string, listener: KeepAwakeListener): Subscription;
|
|
};
|
|
export default _default;
|
|
//# sourceMappingURL=ExpoKeepAwake.web.d.ts.map
|