- From: Andrei Popescu <andreip@google.com>
- Date: Thu, 30 Oct 2008 03:03:27 +0000
- To: "Alissa Cooper" <acooper@cdt.org>
- Cc: "Ian Hickson" <ian@hixie.ch>, public-geolocation@w3.org
Hi Alissa, On Wed, Oct 29, 2008 at 9:46 PM, Alissa Cooper <acooper@cdt.org> wrote: > > Handling the event of a position request would then take two arguments > instead of one -- the position and the usage rules: > > interface PositionCallback { > void handleEvent(in Position position, in UsageRules > usageRules); > }; > > If the position obtained from the host does not come in the form of a > Geopriv object, the UA would use the default rules or prompt the user for > rules. If the position object is a Geopriv object, the UA would set (and > comply with) the rules as they already exist in the object. > If I understand this right, you are proposing that a client (e.g. a Web page) using the API would also get a UsageRules object, in addition to the Position object. Further to Ian's question, could you please clarify how would the client be constrained to obey the rules in the UsageRules object? Thanks, Andrei
Received on Thursday, 30 October 2008 03:04:05 UTC