Camera Size Pair
data class CameraSizePair(val previewSize: Camera.Size, val pictureSize: Camera.Size?)
Content copied to clipboard
Stores a preview size and a corresponding same-aspect-ratio picture size. To avoid distorted preview images on some devices, the picture size must be set to a size that is the same aspect ratio as the preview size or the preview may end up being distorted. If the picture size is null, then there is no picture size with the same aspect ratio as the preview size.