Skip to content

Commit

Permalink
Add whatsAroundMe to Play/Pause media button
Browse files Browse the repository at this point in the history
Again this isn't what iOS does, but it's useful for initial testing.
  • Loading branch information
davecraig committed Nov 20, 2024
1 parent 984fd28 commit b50ce74
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ class SoundscapeMediaSessionCallback(val service : SoundscapeService):
val decodedKey = when(event.keyCode) {
KeyEvent.KEYCODE_MEDIA_PLAY_PAUSE -> {
// TODO: ⏯ Play/Pause: Mute any current callouts and if the audio beacon is set, toggle the beacon audio.
service.whatsAroundMe()
"Play/Pause"
}
KeyEvent.KEYCODE_MEDIA_SKIP_FORWARD -> {
Expand Down

0 comments on commit b50ce74

Please sign in to comment.