Fix scheduled voice note playback.

Resolves #13951
This commit is contained in:
Sagar
2025-01-30 21:44:57 +05:30
committed by Michelle Tang
parent 52c8dfc998
commit 44c90331ec
3 changed files with 14 additions and 26 deletions

View File

@@ -99,6 +99,11 @@ public interface BindableConversationItem extends Unbindable, GiphyMp4Playable,
void onUnregisterVoiceNoteCallbacks(@NonNull Observer<VoiceNotePlaybackState> onPlaybackStartObserver);
void onVoiceNotePause(@NonNull Uri uri);
void onVoiceNotePlay(@NonNull Uri uri, long messageId, double position);
default void onSingleVoiceNotePlay(@NonNull Uri uri, long messageId, double position) {
onVoiceNotePlay(uri, messageId, position);
}
void onVoiceNoteSeekTo(@NonNull Uri uri, double position);
void onVoiceNotePlaybackSpeedChanged(@NonNull Uri uri, float speed);
void onGroupMigrationLearnMoreClicked(@NonNull GroupMigrationMembershipChange membershipChange);