类 VideoBlock.Builder

java.lang.Object
io.agentscope.core.message.VideoBlock.Builder
封闭类:
VideoBlock

public static class VideoBlock.Builder extends Object
Builder for constructing VideoBlock instances.
  • 构造器详细资料

    • Builder

      public Builder()
  • 方法详细资料

    • source

      public VideoBlock.Builder source(Source source)
      Sets the source for the video content.
      参数:
      source - The video source (URL or Base64)
      返回:
      This builder for chaining
    • build

      public VideoBlock build()
      Builds a new VideoBlock with the configured source.
      返回:
      A new VideoBlock instance