W3C home > Mailing lists > Public > public-media-capture-logs@w3.org > December 2016

[mediacapture-image] Separate getPhotoCapabilities from getSettings

From: Harald Alvestrand via GitHub <sysbot+gh@w3.org>
Date: Wed, 07 Dec 2016 12:18:52 +0000
To: public-media-capture-logs@w3.org
Message-ID: <issues.opened-194035082-1481113131-sysbot+gh@w3.org>
alvestrand has just created a new issue for 

== Separate getPhotoCapabilities from getSettings ==
The mixture of getPhotoCapabilities and getting settings is painful 
for the platform users.
getPhotoCapabilities is likely done only once at object init time, 
while getSettings is probably done every time some operation needs to 
display or modify them.

This structure also prevents the easy use of setOptions as in 
getSettings().then(s=>{modify s; setOptions(s)).

Please view or discuss this issue at 
https://github.com/w3c/mediacapture-image/issues/123 using your GitHub
Received on Wednesday, 7 December 2016 12:18:58 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:27:30 UTC