枚举类的使用
io.agentscope.core.agent.EventType
使用EventType的程序包
-
io.agentscope.core.agent中EventType的使用
修饰符和类型方法说明Event.getType()Get the event type.static EventType返回带有指定名称的该类的枚举常量。static EventType[]EventType.values()返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同返回变量类型为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中的构造器