Skip to content

Commit d4bab6a

Browse files
committed
remove changes
1 parent 6caabeb commit d4bab6a

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

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

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,6 @@ public abstract class LiveSessionFutures internal constructor() {
5151
functionCallHandler: ((FunctionCallPart) -> FunctionResponsePart)?
5252
): ListenableFuture<Unit>
5353

54-
/** Indicates whether the underlying websocket connection is active. */
55-
public abstract fun isClosed(): Boolean
56-
57-
/** Indicates whether an audio conversation is being used for this session object. */
58-
public abstract fun isAudioConversationActive(): Boolean
59-
6054
/**
6155
* Starts an audio conversation with the model, which can only be stopped using
6256
* [stopAudioConversation].
@@ -175,10 +169,6 @@ public abstract class LiveSessionFutures internal constructor() {
175169
override fun startAudioConversation() =
176170
SuspendToFutureAdapter.launchFuture { session.startAudioConversation() }
177171

178-
override fun isClosed() = session.isClosed()
179-
180-
override fun isAudioConversationActive() = session.isAudioConversationActive()
181-
182172
override fun stopAudioConversation() =
183173
SuspendToFutureAdapter.launchFuture { session.stopAudioConversation() }
184174

0 commit comments

Comments
 (0)