OnSurfaceUpdateListener

interface OnSurfaceUpdateListener
androidx.camera.video.internal.encoder.Encoder.SurfaceInput.OnSurfaceUpdateListener

An interface for receiving the update event of the input Surface of the encoder.

Summary

Public methods
abstract Unit
onSurfaceUpdate(@NonNull surface: Surface)

Notifies the surface is updated.

Public methods

onSurfaceUpdate

abstract fun onSurfaceUpdate(@NonNull surface: Surface): Unit

Notifies the surface is updated.

Parameters
surface Surface: the updated surface