Interface CroppingConfig.Builder

  • Method Details

    • templateGroups

      CroppingConfig.Builder templateGroups(Collection<TemplateGroup> templateGroups)

      An array of template groups for the crop output. Each template group provides the graphics-compositing templates that Elemental Inference applies to the cropped video. You can specify from 1 to 4 template groups.

      Parameters:
      templateGroups - An array of template groups for the crop output. Each template group provides the graphics-compositing templates that Elemental Inference applies to the cropped video. You can specify from 1 to 4 template groups.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • templateGroups

      CroppingConfig.Builder templateGroups(TemplateGroup... templateGroups)

      An array of template groups for the crop output. Each template group provides the graphics-compositing templates that Elemental Inference applies to the cropped video. You can specify from 1 to 4 template groups.

      Parameters:
      templateGroups - An array of template groups for the crop output. Each template group provides the graphics-compositing templates that Elemental Inference applies to the cropped video. You can specify from 1 to 4 template groups.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • templateGroups

      CroppingConfig.Builder templateGroups(Consumer<TemplateGroup.Builder>... templateGroups)

      An array of template groups for the crop output. Each template group provides the graphics-compositing templates that Elemental Inference applies to the cropped video. You can specify from 1 to 4 template groups.

      This is a convenience method that creates an instance of the TemplateGroup.Builder avoiding the need to create one manually via TemplateGroup.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to templateGroups(List<TemplateGroup>).

      Parameters:
      templateGroups - a consumer that will call methods on TemplateGroup.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: