Add onBackButtonPressed controls api (#3357)

* Add `onBackButtonPressed` controls api

* Update docs/controls.md

Co-authored-by: Robin <robin@robin.town>

---------

Co-authored-by: Robin <robin@robin.town>
This commit is contained in:
Timo
2025-06-24 10:46:04 +02:00
committed by GitHub
parent f86c9fe0a0
commit a507bcde90
2 changed files with 10 additions and 2 deletions

View File

@@ -30,6 +30,8 @@ export interface Controls {
/** @deprecated use showNativeAudioDevicePicker instead*/
showNativeOutputDevicePicker?: () => void;
showNativeAudioDevicePicker?: () => void;
onBackButtonPressed?: () => void;
}
export interface OutputDevice {