UseCaseGroup

@RequiresApi(value = 21)
class 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 types

A builder for generating UseCaseGroup.

Public functions

(Mutable)List<CameraEffect!>

Gets the CameraEffects.

(Mutable)List<UseCase!>

Gets the UseCases.

ViewPort?

Gets the ViewPort shared by the UseCase collection.

Public functions

getEffects

Added in 1.3.0
fun getEffects(): (Mutable)List<CameraEffect!>

Gets the CameraEffects.

getUseCases

Added in 1.0.0
fun getUseCases(): (Mutable)List<UseCase!>

Gets the UseCases.

getViewPort

Added in 1.0.0
fun getViewPort(): ViewPort?

Gets the ViewPort shared by the UseCase collection.