[ 
https://issues.apache.org/jira/browse/CB-321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Simon MacDonald resolved CB-321.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 1.6.0

Removed the success and failure callbacks from Media.play(). These callbacks 
are handled from the Media.onStatus() method.
                
> Media API: 'mediaSuccess' callback param to new Media() is called soon after 
> new obj created
> --------------------------------------------------------------------------------------------
>
>                 Key: CB-321
>                 URL: https://issues.apache.org/jira/browse/CB-321
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 1.5.0
>         Environment: Android 2.x, Cordova 1.5.0
>            Reporter: Libby Baldwin
>            Assignee: Simon MacDonald
>             Fix For: 1.6.0
>
>
> In recent past (1.4.1 and earlier) the mediaSuccess callback was called AFTER 
> successful play action (see doc note below). As of 1.5.0 the mediaSuccess 
> callback seems to be called immediately upon creation of new Media object - 
> not when expected per docs: AFTER media object has completed current action.
> Doc for Media API: "mediaSuccess: (Optional) The callback that is invoked 
> after a Media object has completed the current play/record or stop action."

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to