MCPcopy Create free account
hub / github.com/Moosync/Moosync / mobile_pause

Method mobile_pause

src-tauri/src/mobile_player/mod.rs:58–65  ·  view source on GitHub ↗
(&self, app: AppHandle, key: String)

Source from the content-addressed store, hash-verified

56 }
57
58 pub fn mobile_pause(&self, app: AppHandle, key: String) -> Result<()> {
59 #[cfg(mobile)]
60 {
61 let player = app.audioplayer();
62 player.pause(key)?;
63 }
64 Ok(())
65 }
66
67 pub fn mobile_stop(&self, app: AppHandle, key: String) -> Result<()> {
68 #[cfg(mobile)]

Callers

nothing calls this directly

Calls 2

audioplayerMethod · 0.80
pauseMethod · 0.45

Tested by

no test coverage detected