Enum Class的使用
io.agentscope.core.agent.EventType
使用EventType的程序包
-
io.agentscope.core.agent中EventType的使用
修饰符和类型方法说明Event.getType()Get the event type.static EventTypeReturns the enum constant of this class with the specified name.static EventType[]EventType.values()Returns an array containing the constants of this enum class, in the order they are declared.返回变量类型为EventType的类型的io.agentscope.core.agent中的方法参数类型为EventType的io.agentscope.core.agent中的方法修饰符和类型方法说明StreamOptions.Builder.eventTypes(EventType... types) Set which event types to stream.booleanStreamOptions.shouldStream(EventType type) Check if a specific event type should be streamed.参数类型为EventType的io.agentscope.core.agent中的构造器