- From: Reilly Grant via GitHub <sysbot+gh@w3.org>
- Date: Thu, 19 Sep 2019 08:45:13 +0000
- To: public-device-apis-log@w3.org
Proposed new WebIDL from TPAC 2019 F2F:
```js
partial interface Navigator {
readonly attribute WakeLock wakeLock;
};
interface WakeLock {
Promise<unsigned long long> request(WakeLockType type);
Promise<void> release(unsigned long long id);
};
dictionary WakeLockEventInit {
required unsigned long long lock;
};
interface WakeLockEvent : Event {
constructor(DOMString type, WakeLockEventInit init);
readonly attribute unsigned long long lock;
};
```
--
GitHub Notification of comment by reillyeon
Please view or discuss this issue at https://github.com/w3c/wake-lock/issues/226#issuecomment-533032056 using your GitHub account
Received on Thursday, 19 September 2019 08:45:14 UTC