audio_session icon indicating copy to clipboard operation
audio_session copied to clipboard

[android] delayed focus request

Open nt4f04uNd opened this issue 4 years ago • 1 comments

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))

nt4f04uNd avatar Apr 08 '21 18:04 nt4f04uNd

Would eventually like to add all of the AudioManager API, so this definitely ought to be in there.

ryanheise avatar Apr 09 '21 02:04 ryanheise