CameraSizePair

class CameraSizePair

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.

Constructors

Link copied to clipboard
fun CameraSizePair(previewSize: <ERROR CLASS>, pictureSize: <ERROR CLASS>?)
Link copied to clipboard
fun CameraSizePair(previewSize: <ERROR CLASS>, pictureSize: <ERROR CLASS>?)

Properties

Link copied to clipboard
val picture: <ERROR CLASS>?
Link copied to clipboard
val preview: <ERROR CLASS>