[TIMOB-6465] Android: Titanium.Media.Sound - V8/Rhino - Sound.setPaused method not found at runtime
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Medium |
Status | Closed |
Resolution | Won't Fix |
Resolution Date | 2014-03-07T00:12:12.000+0000 |
Affected Version/s | Release 1.7.5, Release 1.8.0.1 |
Fix Version/s | n/a |
Components | Android |
Labels | parity |
Reporter | Dustin Hyde |
Assignee | Biju pm |
Created | 2011-12-05T15:54:46.000+0000 |
Updated | 2017-03-22T21:36:24.000+0000 |
Description
In Android, the Titanium.Media.Sound.setPaused method is not found at runtime. This method is in the documentation.
This is not new, as it affects Android V8/Rhino in 1.8.0.1 and 1.7.5. Log and screen capture attached.
iOS is not affected.
Could be a doc bug or functional bug.
Steps to Reproduce:
1. Run code, or check documentation: Titanium.Media.Sound.setPaused.
var sound = Titanium.Media.createSound();
sound.setPaused(true);
Expected Result:
App should run without runtime errors, or docs should not reference an unsupported method.
Actual Result:
App generates runtime error indicating "Sound.setPaused" method not found.
Attachments
File | Date | Size |
---|---|---|
setPaused_capture.png | 2011-12-05T15:54:46.000+0000 | 67098 |
setPaused_log.txt | 2011-12-05T15:54:46.000+0000 | 11022 |
In documentation Sound.setPaused method only On iOS and Tizen . consider this as new feature ?
If docs are correct, now moved to feature. Thanks!
PR:- https://github.com/appcelerator/titanium_mobile/pull/4820
TestCase
New PR :- https://github.com/appcelerator/titanium_mobile/pull/5354
It's documented that 'paused' is read-only for Android. If you want to pause the sound, use 'pause' method.
Closing ticket as "Won't Fix".