incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Mueller <pmue...@gmail.com>
Subject Re: Plan for device specific APIs?
Date Mon, 19 Mar 2012 18:10:08 GMT
Ah, I see what you're talking about now Becky.

On Mon, Mar 19, 2012 at 13:39, Jesse MacFadyen <purplecabbage@gmail.com>wrote:

> I think the 2 iOS calls for compass can coexist peacefully if it is
> refactored to use the filter value as an option in the original call
> to watchHeading. Other platforms could ignore this option, or even
> implement it and this could be considered a quirk.  Exposing another
> method on compass, (and presumably possibly geolocation, and
> accelerometer) for this makes no sense to me.
>

+1 on enabling additional functionality via 'options' passed to an API
+1 on not adding additional methods to enable additional functionality in
an API

-- 
Patrick Mueller
http://muellerware.org

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message