Interface FrameSamplingStrategy.Builder

  • Method Details

    • mode

      Which frames of the window to send: FIRST (the first frames), UNIFORM (frames spread evenly across the window), or LAST (the last frames).

      Parameters:
      mode - Which frames of the window to send: FIRST (the first frames), UNIFORM (frames spread evenly across the window), or LAST (the last frames).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • mode

      Which frames of the window to send: FIRST (the first frames), UNIFORM (frames spread evenly across the window), or LAST (the last frames).

      Parameters:
      mode - Which frames of the window to send: FIRST (the first frames), UNIFORM (frames spread evenly across the window), or LAST (the last frames).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • count

      The number of frames to send on each run. Valid range: 1 to 64. The default is 1. Each frame adds to the size of the model request and to what the model charges for it.

      Parameters:
      count - The number of frames to send on each run. Valid range: 1 to 64. The default is 1. Each frame adds to the size of the model request and to what the model charges for it.
      Returns:
      Returns a reference to this object so that method calls can be chained together.