Package-level declarations

Types

Link copied to clipboard
class PreviewView @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, defStyle: Int = 0) : FrameLayout

A FrameLayout containing a preview for the ICameraStreamer.

Functions

Link copied to clipboard
fun <T> getPreviewOutputSize(characteristics: CameraCharacteristics, targetSize: Size, targetClass: Class<T>): Size

Returns the largest available PREVIEW size. For more information, see: https://d.android.com/reference/android/hardware/camera2/CameraDevice and https://developer.android.com/reference/android/hardware/camera2/params/StreamConfigurationMap