Join us for ⁠#Android11: The Beta Launch Show on June 3!

PreviewConfigProvider

class PreviewConfigProvider : ConfigProvider<PreviewConfig!>
kotlin.Any
   ↳ androidx.camera.camera2.internal.PreviewConfigProvider

Provides defaults for PreviewConfig in the Camera2 implementation.

Summary

Public constructors

<init>(@NonNull context: Context)

Public methods

PreviewConfig
getConfig(@Nullable cameraInfo: CameraInfo?)

Public constructors

<init>

PreviewConfigProvider(@NonNull context: Context)

Public methods

getConfig

@NonNull fun getConfig(@Nullable cameraInfo: CameraInfo?): PreviewConfig