-
-
Notifications
You must be signed in to change notification settings - Fork 252
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
playback speed control button for voice messages
Signed-off-by: Christian Reiner <foss@christian-reiner.info> Themed the PlaybackSpeedControl + Work around onBind bug Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
- Loading branch information
1 parent
187f98a
commit 20d36c1
Showing
13 changed files
with
260 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
app/src/main/java/com/nextcloud/talk/adapters/messages/VoiceMessageInterface.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,16 @@ | ||
/* | ||
* Nextcloud Talk - Android Client | ||
* | ||
* SPDX-FileCopyrightText: 2024 Christian Reiner <foss@christian-reiner.info> | ||
* SPDX-FileCopyrightText: 2021 Marcel Hibbe <dev@mhibbe.de> | ||
* SPDX-License-Identifier: GPL-3.0-or-later | ||
*/ | ||
package com.nextcloud.talk.adapters.messages | ||
|
||
import com.nextcloud.talk.chat.data.model.ChatMessage | ||
import com.nextcloud.talk.ui.PlaybackSpeed | ||
|
||
interface VoiceMessageInterface { | ||
fun updateMediaPlayerProgressBySlider(message: ChatMessage, progress: Int) | ||
fun registerMessageToObservePlaybackSpeedPreferences(userId: String, listener: (speed: PlaybackSpeed) -> Unit) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.