Closed
Bug 1030839
Opened 10 years ago
Closed 7 years ago
[Stingray] TV Web API for Settings/Configurations
Categories
(Firefox OS Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: airpingu, Unassigned)
References
Details
(Whiteboard: [ft:conndevices])
User Story
This Web API has to cover the following user cases: 1. This API is able to change some TV settings to control the TV device's behaviors. 2. This API is able to read/write some TV settings onto the vendor's self-defined database. 3. This API is able to access some TV configurations to decide how to display the UI. For example, the app needs to know which model this TV applies. This kind of setting has to be read-only and must be fixed when the product is released.
Settings API is obviously the right Web API to do so. Our current Settings API is implemented based on a underlying indexedDB. However, the vendors might want to hook up the Settings API to their own native database which doesn't have to be an indexedDB. To cover all the user cases, a more generic approach is to properly define a XPCOM interface within the Settings API, where the XPCOM's implementation can be supported by the vendors to decide which kinds of settings can be maintained by the default indexedDB and which kinds of settings can be redirected to the vendor's own database. For example, for the TV settings to control the TV device (user case #1), applying the existing indexedDB might be sufficient. For the TV settings associated to the vendor's native store (user case #2) or the vendor's read-only model configuration (user case #3), vendors can just redefine the read/write behaviors by providing their own implementations under the XPCOM interface.
Reporter | ||
Comment 1•10 years ago
|
||
This part can totally be handled by the Settings API so it doesn't block the TV Manager API.
No longer blocks: 998872
Updated•10 years ago
|
Whiteboard: [FT:Stream3] → [ft:conndevices]
Updated•9 years ago
|
Blocks: TV_FxOS2.5
Updated•9 years ago
|
No longer blocks: TV_FxOS2.5
Comment 2•7 years ago
|
||
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
Updated•7 years ago
|
Keywords: dev-doc-needed
You need to log in
before you can comment on or make changes to this bug.
Description
•