AudioFocusChangeListener Demo أيقونة

AudioFocusChangeListener Demo

0.1b for Android
3.0 | 5,000+ عمليات التثبيت

Jan Rabe

هذا الوصف ل AudioFocusChangeListener Demo

Android plugin library that informs unity about audio focus changes. It also has a reliable way of telling if other applications are currently playing music within unity.
Why use this library?
Because otherwise unity's fmod implementation will screw up android's AudioManager.html#isMusicActive() and forcing it to lie and it always returns true, even if no music is being played on the device at all.
Why is this cool?
Now you can enhance the usability for the end-user by muting your application music automatically when the user listens to music in the background while using your app and more importantly automatically turn the music back on, once mp3 player in the background has finished playing.

المعلومات