类的用途(Uses of the Class)
com.google.adk.agents.LiveRequestQueue
Packages that use LiveRequestQueue
-
**用途:** LiveRequestQueue 在……里面;处于……状态 com.google.adk.agents
Methods in com.google.adk.agents that return LiveRequestQueueModifier and TypeMethodDescription@Nullable LiveRequestQueueActiveStreamingTool.stream()返回该流媒体工具当前正在使用的流(即正在传输的数据)。Methods in com.google.adk.agents that return types with arguments of type LiveRequestQueueModifier and TypeMethodDescriptionInvocationContext.liveRequestQueue()如果本次调用允许的话,该方法会返回用于管理实时请求的队列(即用于存储这些请求的数据结构)。Methods in com.google.adk.agents with parameters of type LiveRequestQueueModifier and TypeMethodDescriptionInvocationContext.Builder.liveRequestQueue(@Nullable LiveRequestQueue liveRequestQueue) 用于设置用于管理实时请求(live requests)的队列(queue)。voidActiveStreamingTool.stream(@Nullable LiveRequestQueue stream) 设置此流媒体工具的当前活动流(即正在播放的视频或音频)。Constructors in com.google.adk.agents with parameters of type LiveRequestQueueModifierConstructorDescriptionActiveStreamingTool(LiveRequestQueue stream) ActiveStreamingTool(io.reactivex.rxjava3.disposables.Disposable task, LiveRequestQueue stream) -
**用途:** LiveRequestQueue 在……里面;处于……状态 com.google.adk.runner
Methods in com.google.adk.runner with parameters of type LiveRequestQueueModifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Flowable<Event> Runner.runLive(SessionKey sessionKey, LiveRequestQueue liveRequestQueue, RunConfig runConfig) 检索会话信息,并以实时模式运行代理程序。io.reactivex.rxjava3.core.Flowable<Event> Runner.runLive(Session session, LiveRequestQueue liveRequestQueue, RunConfig runConfig) io.reactivex.rxjava3.core.Flowable<Event> Runner.runLive(String userId, String sessionId, LiveRequestQueue liveRequestQueue, RunConfig runConfig) 检索会话信息,并以实时模式运行代理程序。protected io.reactivex.rxjava3.core.Flowable<Event> Runner.runLiveImpl(Session session, @Nullable LiveRequestQueue liveRequestQueue, RunConfig runConfig) 以实时模式运行代理程序,并将生成的日志事件添加到会话记录中。