getCurrentPosition() equivalent for Audio recorder
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()
.
精彩评论