(&self, app: AppHandle, key: String)
| 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)] |
nothing calls this directly
no test coverage detected