ExcludedSupportedSizesContainer

@RequiresApi(21) open class ExcludedSupportedSizesContainer
kotlin.Any
   ↳ androidx.camera.camera2.internal.compat.workaround.ExcludedSupportedSizesContainer

Gets problematic surface sizes that need to be excluded on the current device for a given camera and image format.

Summary

Public constructors

Constructs an instance of ExcludedSupportedSizesContainer that excludes supported surface sizes from the camera identified by cameraId.

Public methods
open MutableList<Size!>
get(imageFormat: Int)

Retrieves the supported surface sizes to exclude on the current device for the camera identified by mCameraId and the specified image format.

Public constructors

ExcludedSupportedSizesContainer

ExcludedSupportedSizesContainer(@NonNull cameraId: String)

Constructs an instance of ExcludedSupportedSizesContainer that excludes supported surface sizes from the camera identified by cameraId.

Public methods

get

@NonNull open fun get(imageFormat: Int): MutableList<Size!>

Retrieves the supported surface sizes to exclude on the current device for the camera identified by mCameraId and the specified image format.