audio_session
audio_session copied to clipboard
[android] delayed focus request
android audio focus is missing delayed request https://developer.android.com/reference/android/media/AudioManager#AUDIOFOCUS_REQUEST_DELAYED
this will probably require introducing new enum which contains will contains these values
- AUDIOFOCUS_REQUEST_DELAYED
- AUDIOFOCUS_REQUEST_FAILED
- AUDIOFOCUS_REQUEST_GRANTED
now the latter two are handled as boolean value and the delayed is simply not supported (it requires registering with https://developer.android.com/reference/android/media/AudioFocusRequest.Builder#setAcceptsDelayedFocusGain(boolean))
Would eventually like to add all of the AudioManager API, so this definitely ought to be in there.