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
method public static com.google.firebase.ai.type.LiveGenerationConfig liveGenerationConfig(kotlin.jvm.functions.Function1<? super com.google.firebase.ai.type.LiveGenerationConfig.Builder,kotlin.Unit> init);
639
621
}
640
622
623
+
@com.google.firebase.ai.type.PublicPreviewAPI public final class LiveServerContent implements com.google.firebase.ai.type.LiveServerMessage {
624
+
ctor public LiveServerContent(com.google.firebase.ai.type.Content? content, boolean interrupted, boolean turnComplete, boolean generationComplete);
625
+
method public com.google.firebase.ai.type.Content? getContent();
626
+
method public boolean getGenerationComplete();
627
+
method public boolean getInterrupted();
628
+
method public boolean getTurnComplete();
629
+
property public final com.google.firebase.ai.type.Content? content;
630
+
property public final boolean generationComplete;
631
+
property public final boolean interrupted;
632
+
property public final boolean turnComplete;
633
+
}
634
+
635
+
@com.google.firebase.ai.type.PublicPreviewAPI public interface LiveServerMessage {
636
+
}
637
+
638
+
@com.google.firebase.ai.type.PublicPreviewAPI public final class LiveServerSetupComplete implements com.google.firebase.ai.type.LiveServerMessage {
639
+
ctor public LiveServerSetupComplete();
640
+
}
641
+
642
+
@com.google.firebase.ai.type.PublicPreviewAPI public final class LiveServerToolCall implements com.google.firebase.ai.type.LiveServerMessage {
643
+
ctor public LiveServerToolCall(java.util.List<com.google.firebase.ai.type.FunctionCallPart> functionCalls);
644
+
method public java.util.List<com.google.firebase.ai.type.FunctionCallPart> getFunctionCalls();
645
+
property public final java.util.List<com.google.firebase.ai.type.FunctionCallPart> functionCalls;
646
+
}
647
+
648
+
@com.google.firebase.ai.type.PublicPreviewAPI public final class LiveServerToolCallCancellation implements com.google.firebase.ai.type.LiveServerMessage {
649
+
ctor public LiveServerToolCallCancellation(java.util.List<java.lang.String> functionIds);
650
+
method public java.util.List<java.lang.String> getFunctionIds();
651
+
property public final java.util.List<java.lang.String> functionIds;
652
+
}
653
+
641
654
@com.google.firebase.ai.type.PublicPreviewAPI public final class LiveSession {
642
655
method public suspend Object? close(kotlin.coroutines.Continuation<? super kotlin.Unit>);
643
-
method public kotlinx.coroutines.flow.Flow<com.google.firebase.ai.type.LiveContentResponse> receive();
656
+
method public kotlinx.coroutines.flow.Flow<com.google.firebase.ai.type.LiveServerMessage> receive();
644
657
method public suspend Object? send(com.google.firebase.ai.type.Content content, kotlin.coroutines.Continuation<? super kotlin.Unit>);
645
658
method public suspend Object? send(String text, kotlin.coroutines.Continuation<? super kotlin.Unit>);
646
659
method public suspend Object? sendFunctionResponse(java.util.List<com.google.firebase.ai.type.FunctionResponsePart> functionList, kotlin.coroutines.Continuation<? super kotlin.Unit>);
0 commit comments