媒体播放器播放某些时间媒体播放器、时间

由网友(残落彼岸花あ)分享简介:我要玩的媒体播放器仅售10秒。如何控制呢?I want to play the mediaplayer for just 10 sec. How to control it?推荐答案您可以使用的TimerTask 来安排 MediaPlayer.stop()后10秒运行。You could use TimerT...

我要玩的媒体播放器仅售10秒。如何控制呢?

I want to play the mediaplayer for just 10 sec. How to control it?

推荐答案

您可以使用的TimerTask 来安排 MediaPlayer.stop()后10秒运行。

You could use TimerTask to schedule a MediaPlayer.stop() to run after 10 secs.

阅读全文

相关推荐

最新文章