As part of releasing audio API to apps running in kiosk session, the API has been refactored, deprecating few API members:
* onDeviceChanged event, which has been replaced with more granular events: onMuteChanged, onLEvelChanged, onDeviceListChanged
* getInfo method, which was replaced by getDevices method
* setActiveDevices argument was changed from a string list to DeviceIdLists dictionary
* isMuted property in dictionary passed to setProperties has been deprecated in favor of setMute method
* gain and volume properties in dictionary passed to setProperties method has been replaced with level property
The deprecated functionality has not been completely removed from the API to make transition to the new API version more convenient for the apps that currently use the API (the access to the API is currently whitelisted) - support for deprecated functionality should be removed completely after the apps have had enough time to migrate. This issue will track that effort.
Targeting this for M60, since 2 release cycles should be more than enough for apps to get updated.
Comment 1 by tbarzic@chromium.org
, Mar 1 2017