The Developer Preview for Android 11 is now available; test it out and share your feedback.

CameraIdFilterSet

class CameraIdFilterSet : CameraIdFilter
kotlin.Any
   ↳ androidx.camera.core.internal.CameraIdFilterSet

A CameraIdFilter which holds multiple CameraIdFilter and filters camera ids with all of them.

Summary

Public constructors

A CameraIdFilter which holds multiple CameraIdFilter and filters camera ids with all of them.

Public methods

Unit
addCameraIdFilter(@NonNull cameraIdFilter: CameraIdFilter)

Adds a CameraIdFilter to the set.

MutableSet<String!>
filter(@NonNull cameraIds: MutableSet<String!>)

MutableSet<CameraIdFilter!>

Gets a set of CameraIdFilter.

Public constructors

<init>

CameraIdFilterSet()

A CameraIdFilter which holds multiple CameraIdFilter and filters camera ids with all of them.

Public methods

addCameraIdFilter

fun addCameraIdFilter(@NonNull cameraIdFilter: CameraIdFilter): Unit

Adds a CameraIdFilter to the set.

filter

@NonNull fun filter(@NonNull cameraIds: MutableSet<String!>): MutableSet<String!>

getCameraIdFilters

@NonNull fun getCameraIdFilters(): MutableSet<CameraIdFilter!>

Gets a set of CameraIdFilter.