ExcludedSupportedSizesContainer

public class 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

@NonNull List<@NonNull Size>
get(@NonNull int imageFormat)

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

public ExcludedSupportedSizesContainer(@NonNull String cameraId)

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

Public methods

get

@NonNull
public List<@NonNull Sizeget(@NonNull int imageFormat)

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