Google se compromete a impulsar la igualdad racial para las comunidades afrodescendientes. Obtén información al respecto.


interface TransformationInfoListener

Listener that receives updates of the TransformationInfo associated with the SurfaceRequest.


Public methods
abstract Unit

Called when the TransformationInfo is updated.

Public methods


abstract fun onTransformationInfoUpdate(@NonNull transformationInfo: SurfaceRequest.TransformationInfo): Unit

Called when the TransformationInfo is updated.

This is called when the transformation info becomes available or is updated. The rotation degrees is updated after calling Preview#setTargetRotation, and the crop rect is updated after changing the ViewPort associated with the Preview.

transformationInfo SurfaceRequest.TransformationInfo: apply the transformation info to transform Preview