我已经定义了延迟为15秒的可延迟运行的内部处理程序,但是我的playLiveStream()函数无需等待15秒即可立即执行。有人可以帮我指出我在做什么错吗?
new Handler(Looper.getMainLooper()).postDelayed(new Runnable() {
@Override
public void run() {
playLiveStream();
}
}, 15000);