UseCaseGroup

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

Represents a collection of UseCase. When the UseCaseGroup is bound to Lifecycle, it binds all the UseCases to the same Lifecycle. UseCases inside of a UseCaseGroup usually share some common properties like the FOV defined by ViewPort.

Summary

Nested classes

A builder for generating UseCaseGroup.

Public methods
MutableList<UseCase!>

Gets the UseCases.

ViewPort?

Gets the ViewPort shared by the UseCase collection.

Public methods

getUseCases

@NonNull fun getUseCases(): MutableList<UseCase!>

Gets the UseCases.

getViewPort

@Nullable fun getViewPort(): ViewPort?

Gets the ViewPort shared by the UseCase collection.