W3C home > Mailing lists > Public > public-device-apis-log@w3.org > November 2016

Re: [sensors] granularity of Permission name for concrete/ fusion sensors

From: Maryam Mehr via GitHub <sysbot+gh@w3.org>
Date: Mon, 14 Nov 2016 15:43:47 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-260370776-1479138224-sysbot+gh@w3.org>
The below suggestion would work for now since the use cases are 
limited:

let s = new OrientationSensor();
permissions.query(s).then(/*...*/);

And this would imply a high-level permission model.  In my opinion, 
any high-level sensor usage is a use-case of sensor fusion.  In 
future, I expect more use cases using multiple low-level sensors. Do 
we want to behave all of them like what you suggest for orientation 
e.g. does this make sense to you?:

let s = new HeadTrackerSensor();
permissions.query(s).then(/*...*/);

-- 
GitHub Notification of comment by maryammjd
Please view or discuss this issue at 
https://github.com/w3c/sensors/issues/132#issuecomment-260370776 using
 your GitHub account
Received on Monday, 14 November 2016 15:43:53 UTC

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