Re: Gyroscope/DeviceMotion events

On 03/08/2010, at 11:28 PM, Andrei Popescu wrote:

> If we go for option B, then I think we should have a single interval.
> Or can you think of a use case when you'd want to specify different
> intervals?

One interval is fine.

> As for the meaning of the interval, it would have to be a hint to the
> implementation and no guarantees should be made that the interval is
> actually respected. On Android, for example, we can only specify the
> interval in terms of 4 constants:
> 
> http://developer.android.com/reference/android/hardware/SensorManager.html#SENSOR_DELAY_FASTEST

Fair enough. Maybe we should use a similar approach?

Hints address the use case that I'm most concerned about, which is an application that does not want to be handling 100+ events a second, for example.

Dean

Received on Tuesday, 3 August 2010 19:45:28 UTC