AdaptingPreviewProcessor

@RequiresApi(21) class AdaptingPreviewProcessor : CaptureProcessor, CloseableProcessor
kotlin.Any
   ↳ androidx.camera.extensions.internal.AdaptingPreviewProcessor

A CaptureProcessor that calls a vendor provided preview processing implementation.

Summary

Public constructors
AdaptingPreviewProcessor(@NonNull impl: PreviewImageProcessorImpl)

Public methods
Unit

Unit
onOutputSurface(@NonNull surface: Surface, imageFormat: Int)

Unit
onResolutionUpdate(@NonNull size: Size)

Unit
process(@NonNull bundle: ImageProxyBundle)

Inherited functions

Public constructors

AdaptingPreviewProcessor

AdaptingPreviewProcessor(@NonNull impl: PreviewImageProcessorImpl)

Public methods

close

fun close(): Unit

onOutputSurface

fun onOutputSurface(
    @NonNull surface: Surface,
    imageFormat: Int
): Unit

onResolutionUpdate

fun onResolutionUpdate(@NonNull size: Size): Unit

process

fun process(@NonNull bundle: ImageProxyBundle): Unit