Detect pause/resume in ExoPlayer

后端 未结 7 1948
予麋鹿
予麋鹿 2021-02-06 23:02

I searched two days for this question in github but i can\'t find true answer . I want example for detecting pause / resume in ExoPlayer > 2.x . An

7条回答
  •  广开言路
    2021-02-06 23:37

    You can use exoplayer.getPlayWhenReady() to check whether the player is currently in a pause state or playing state.

提交回复
热议问题