W3C home > Mailing lists > Public > public-device-apis-log@w3.org > May 2017

Re: [sensors] Define algorithm for suspending / resuming activated sensor objects

From: Tobie Langel via GitHub <sysbot+gh@w3.org>
Date: Sat, 27 May 2017 11:27:11 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-304446233-1495884430-sysbot+gh@w3.org>
> Also, would good to define what happens if error occurs when sensor is suspended, should we create task for changing state to idle or we create that task when sensor is ‘resumed’?

The only thing suspend mode will do is prevent readings from reaching the application layer. So this will just continue working as is.

GitHub Notification of comment by tobie
Please view or discuss this issue at https://github.com/w3c/sensors/issues/217#issuecomment-304446233 using your GitHub account
Received on Saturday, 27 May 2017 11:27:17 UTC

This archive was generated by hypermail 2.4.0 : Monday, 4 July 2022 12:47:54 UTC