You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: stream-chat-android-compose/api/stream-chat-android-compose.api
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5025,7 +5025,8 @@ public final class io/getstream/chat/android/compose/viewmodel/messages/MessageC
5025
5025
public static synthetic fun buildNewMessage$default (Lio/getstream/chat/android/compose/viewmodel/messages/MessageComposerViewModel;Ljava/lang/String;Ljava/util/List;ILjava/lang/Object;)Lio/getstream/chat/android/models/Message;
5026
5026
public final fun cancelRecording ()V
5027
5027
public final fun clearData ()V
5028
-
public final fun completeRecording ()V
5028
+
public final fun completeRecording (Lkotlin/jvm/functions/Function1;)V
5029
+
public static synthetic fun completeRecording$default (Lio/getstream/chat/android/compose/viewmodel/messages/MessageComposerViewModel;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
5029
5030
public final fun createPoll (Lio/getstream/chat/android/models/PollConfig;)V
5030
5031
public final fun dismissMessageActions ()V
5031
5032
public final fun getAlsoSendToChannel ()Lkotlinx/coroutines/flow/MutableStateFlow;
Copy file name to clipboardExpand all lines: stream-chat-android-compose/src/main/java/io/getstream/chat/android/compose/viewmodel/messages/MessageComposerViewModel.kt
Copy file name to clipboardExpand all lines: stream-chat-android-ui-common/src/main/kotlin/io/getstream/chat/android/ui/common/feature/messages/composer/MessageComposerController.kt
+15-4Lines changed: 15 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -922,12 +922,23 @@ public class MessageComposerController(
922
922
}
923
923
924
924
/**
925
-
* Completes audio recording and moves [MessageComposerState.recording] state to [RecordingState.Complete].
926
-
* Also, it wil update [MessageComposerState.attachments] list.
925
+
* Completes audio recording and updates the [MessageComposerState.attachments] list.
926
+
*
927
+
* @param onComplete Optional callback invoked with the result of the recording once the recording has been
928
+
* finalized. On success, the recorded [Attachment] is added to [selectedAttachments] before the callback
929
+
* is invoked, so callers can safely build and send a message using the received attachment.
Copy file name to clipboardExpand all lines: stream-chat-android-ui-components/api/stream-chat-android-ui-components.api
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -4518,7 +4518,8 @@ public final class io/getstream/chat/android/ui/viewmodel/messages/MessageCompos
4518
4518
public static synthetic fun buildNewMessage$default (Lio/getstream/chat/android/ui/viewmodel/messages/MessageComposerViewModel;Ljava/lang/String;Ljava/util/List;ILjava/lang/Object;)Lio/getstream/chat/android/models/Message;
4519
4519
public final fun cancelRecording ()V
4520
4520
public final fun clearData ()V
4521
-
public final fun completeRecording ()V
4521
+
public final fun completeRecording (Lkotlin/jvm/functions/Function1;)V
4522
+
public static synthetic fun completeRecording$default (Lio/getstream/chat/android/ui/viewmodel/messages/MessageComposerViewModel;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
4522
4523
public final fun createPoll (Lio/getstream/chat/android/models/PollConfig;)V
Copy file name to clipboardExpand all lines: stream-chat-android-ui-components/src/main/kotlin/io/getstream/chat/android/ui/viewmodel/messages/MessageComposerViewModel.kt
0 commit comments