Google is committed to advancing racial equity for Black communities. See how.

Builder

class Builder
kotlin.Any
   ↳ androidx.camera.core.UseCaseGroup.Builder

A builder for generating UseCaseGroup.

Summary

Public constructors

Public methods
open UseCaseGroup.Builder
addUseCase(@NonNull useCase: UseCase)

Adds UseCase to the collection.

open UseCaseGroup

Builds a UseCaseGroup from the current state.

open UseCaseGroup.Builder
setViewPort(@NonNull viewPort: ViewPort)

Sets ViewPort shared by the UseCases.

Public constructors

<init>

Builder()

Public methods

addUseCase

@NonNull open fun addUseCase(@NonNull useCase: UseCase): UseCaseGroup.Builder

Adds UseCase to the collection.

build

@NonNull open fun build(): UseCaseGroup

Builds a UseCaseGroup from the current state.

setViewPort

@NonNull open fun setViewPort(@NonNull viewPort: ViewPort): UseCaseGroup.Builder

Sets ViewPort shared by the UseCases.