W3C home > Mailing lists > Public > public-device-apis-log@w3.org > January 2019

Re: [deviceorientation] Remove [NoInterfaceObject] (#58)

From: Reilly Grant via GitHub <sysbot+gh@w3.org>
Date: Tue, 15 Jan 2019 19:22:45 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-454517439-1547580164-sysbot+gh@w3.org>
For reference the interfaces are,

interface DeviceAcceleration {
  readonly attribute double? x;
  readonly attribute double? y;
  readonly attribute double? z;

interface DeviceRotationRate {
  readonly attribute double? alpha;
  readonly attribute double? beta;
  readonly attribute double? gamma;

These are both pretty generic vectors. I wish we could reuse [`DOMPointReadOnly`](https://www.w3.org/TR/geometry-1/#dompointreadonly). Maybe before removing [NoInterfaceObject] we could rename them to something like `DeviceMotionEventAcceleration` and `DeviceMotionEventRotationRate` or `DeviceAccelerationLegacy` and `DeviceRotationRateLegacy` just to highlight that these types are part of this API.

GitHub Notification of comment by reillyeon
Please view or discuss this issue at https://github.com/w3c/deviceorientation/issues/58#issuecomment-454517439 using your GitHub account
Received on Tuesday, 15 January 2019 19:22:55 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:34:27 UTC