java - How to set Audio Focus ChangeListener in Android API O? -


since requestaudiofocus(audiomanager.onaudiofocuschangelistener l, int streamtype, int durationhint) deprecated in api o , how set audio focus change listener using audiofocusrequest

try use setonaudiofocuschangelistener()


Comments

Popular posts from this blog

r - geom_bar tied exactly to x and y axis (without aggregating) -

php - Is there a way to specify only some optional function args? -

java - Spring-boot using RestTemplate -