CameraPreviewSize Dimensions of a camera preview. Properties height(Number) – Preview height in logical pixels. width(Number) – Preview width in logical pixels. Properties# height instance-attribute # height: Number Preview height in logical pixels. width instance-attribute # width: Number Preview width in logical pixels.