Closed
Bug 1088818
Opened 10 years ago
Closed 7 years ago
[Stingray] Modify the behavior of channel scanning in TV Manager API
Categories
(Firefox OS Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: selin, Unassigned)
References
()
Details
TV Manager API spec: http://seanyhlin.github.io/TV-Manager-API/index.html
Current Design:
When calling |startScanning|, we get a promise which will get resolved with no value after the triggering operation is succeeded. And then listen to |TVScanningStateChangedEvent| for 4 kinds for states ("cleared", "scanned", "completed", "stopped").
Ehsan's proposal:
It'd be better to let the promise returned from |startScanning| cover not only the triggering operation but also the whole channel scanning period. So the promise could be resolved with a value representing "completed" or "stopped" once the whole scanning operation is done. Then we only need 2 states ("cleared", "scanned") for |TVScanningStateChangedEvent|.
Comment 1•7 years ago
|
||
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•