Hybrid Application Developer Question: Download Hybrid Application Developer PDF
Do you know what is media.seekTo and media.getDuration function in OpenGap media API?
Answer:
☛ seekTo in OpenGap Media API is a function that updates the latest position of the underlying audio file of a Media Object
☛ getDuration is a function that returns the duration of the audio file in seconds. It will return the value -1, if the duration is unknown
☛ getDuration is a function that returns the duration of the audio file in seconds. It will return the value -1, if the duration is unknown