samedi 26 septembre 2020

how to test android mediaplyer API

does anybody know: how to test android mediaplayer API.how to check start()\stop()\seek to() works in my code ?

here is the code:

enter code here/** * Stops playback after playback has been started or paused. * * @throws IllegalStateException if the internal player engine has not been * initialized. */ public void stop() throws IllegalStateException { stayAwake(false); _stop(); baseStop(); }

use junit to test android mediaplyer API? or any other ways?

Aucun commentaire:

Enregistrer un commentaire