Interface ProbeResult.Builder

  • Method Details

    • container

      ProbeResult.Builder container(Container container)
      The container of your media file. This information helps you understand the overall structure and details of your media, including format, duration, and track layout.
      Parameters:
      container - The container of your media file. This information helps you understand the overall structure and details of your media, including format, duration, and track layout.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • container

      default ProbeResult.Builder container(Consumer<Container.Builder> container)
      The container of your media file. This information helps you understand the overall structure and details of your media, including format, duration, and track layout. This is a convenience method that creates an instance of the Container.Builder avoiding the need to create one manually via Container.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to container(Container).

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

      ProbeResult.Builder metadata(Metadata metadata)
      Metadata and other file information.
      Parameters:
      metadata - Metadata and other file information.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metadata

      default ProbeResult.Builder metadata(Consumer<Metadata.Builder> metadata)
      Metadata and other file information. This is a convenience method that creates an instance of the Metadata.Builder avoiding the need to create one manually via Metadata.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to metadata(Metadata).

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

      ProbeResult.Builder trackMappings(Collection<TrackMapping> trackMappings)
      An array containing track mapping information.
      Parameters:
      trackMappings - An array containing track mapping information.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • trackMappings

      ProbeResult.Builder trackMappings(TrackMapping... trackMappings)
      An array containing track mapping information.
      Parameters:
      trackMappings - An array containing track mapping information.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • trackMappings

      ProbeResult.Builder trackMappings(Consumer<TrackMapping.Builder>... trackMappings)
      An array containing track mapping information. This is a convenience method that creates an instance of the TrackMapping.Builder avoiding the need to create one manually via TrackMapping.builder().

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

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