Fixed closePlayback

This commit is contained in:
Rasmus Krämer
2022-04-18 12:11:29 +02:00
parent 13665af0ed
commit 2f8e30accb
6 changed files with 16 additions and 17 deletions
+2
View File
@@ -50,6 +50,8 @@ public class AbsAudioPlayer: CAPPlugin {
}
}
@objc func closePlayback(_ call: CAPPluginCall) {
NSLog("Close playback")
PlayerHandler.stopPlayback()
call.resolve()
}