W3C home > Mailing lists > Public > public-device-apis@w3.org > July 2010

Re: ACTION-143 - Feedback on the Gallery API

From: Anssi Kostiainen <anssi.kostiainen@nokia.com>
Date: Wed, 7 Jul 2010 19:10:49 +0300
Message-Id: <D291AB34-16F0-408F-A87A-517732BF46AE@nokia.com>
To: W3C Device APIs and Policy WG <public-device-apis@w3.org>
On 6.7.2010, at 16.39, Kostiainen Anssi wrote:

> Hi,
> Here's my feedback on the Gallery API (18 March 2010 version) [1]. Overall, I feel this early draft could be still simplified to make the highest value use case (retrieving a list of media items) simpler. More advanced stuff could be pushed to v2. It might also be beneficial to align its design more closely with the other similar (DAP) APIs. Some details below.

Some additional comments re MediaObject interface:

Wouldn't we need a read-only uri/url/URL attribute to make this API useful for other than querying metadata of media items?

Perhaps MediaObject could inherit from File in which case we could simplify by dropping at least filename, type and mimeType attributes. Another option that might work would be to inherit from MediaFile of Capture API. Or we could even try to merge MediaObject and MediaFile into one and use that if it works out.

As agreed during today's telco, let's discuss how we should proceed with this API at F2F. Any comments on the list prior to that are of course welcome.

Received on Wednesday, 7 July 2010 16:09:06 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:32:21 UTC