Interface DisplayConfiguration.Builder

  • Method Details

    • resolution

      DisplayConfiguration.Builder resolution(Resolution resolution)

      The resolution to apply to the stream session's virtual monitor. When specified, this value overrides the default resolution of 1920 × 1080.

      Parameters:
      resolution - The resolution to apply to the stream session's virtual monitor. When specified, this value overrides the default resolution of 1920 × 1080.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resolution

      default DisplayConfiguration.Builder resolution(Consumer<Resolution.Builder> resolution)

      The resolution to apply to the stream session's virtual monitor. When specified, this value overrides the default resolution of 1920 × 1080.

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

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

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