Skip to content

Commit 5f1154b

Browse files
committed
update
1 parent 340b819 commit 5f1154b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/java/LiveSessionFutures.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,7 @@ public abstract class LiveSessionFutures internal constructor() {
5555
* @param functionCallHandler A callback function to map function calls from the server to their
5656
* response parts.
5757
*/
58-
public abstract fun startAudioConversation(
59-
): ListenableFuture<Unit>
58+
public abstract fun startAudioConversation(): ListenableFuture<Unit>
6059

6160
/**
6261
* Stops the audio conversation with the Gemini Server.
@@ -134,7 +133,8 @@ public abstract class LiveSessionFutures internal constructor() {
134133
functionCallHandler: ((FunctionCallPart) -> FunctionResponsePart)?
135134
) = SuspendToFutureAdapter.launchFuture { session.startAudioConversation(functionCallHandler) }
136135

137-
override fun startAudioConversation() = SuspendToFutureAdapter.launchFuture { session.startAudioConversation() }
136+
override fun startAudioConversation() =
137+
SuspendToFutureAdapter.launchFuture { session.startAudioConversation() }
138138

139139
override fun stopAudioConversation() =
140140
SuspendToFutureAdapter.launchFuture { session.stopAudioConversation() }

0 commit comments

Comments
 (0)