The Android Developer Challenge is back! Submit your idea before December 2.

OnPreviewOutputUpdateListener

interface OnPreviewOutputUpdateListener
androidx.camera.core.Preview.OnPreviewOutputUpdateListener

A listener of PreviewOutput. TODO(b/117519540): Mark as deprecated once PreviewSurfaceCallback is ready.

Summary

Public methods

abstract Unit
onUpdated(@NonNull output: Preview.PreviewOutput)

Callback when PreviewOutput has been updated.

Public methods

onUpdated

abstract fun onUpdated(@NonNull output: Preview.PreviewOutput): Unit

Callback when PreviewOutput has been updated.