开发者

getCurrentPosition() equivalent for Audio recorder

开发者 https://www.devze.com 2023-01-09 02:05 出处:网络
In android media player hasgetCurrentPosition() which tell me how long that media has been played (in second).But why there is no equivalent for media 开发者_如何学JAVArecorder? How can I find out how

In android media player has getCurrentPosition() which tell me how long that media has been played (in second). But why there is no equivalent for media 开发者_如何学JAVArecorder? How can I find out how long has elapsed when recoding an audio?


How can I find out how long has elapsed when recoding an audio?

Keep track of it yourself, using SystemClock.elapsedTime().

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号