Added in API level 32

OnBufferTransformHintChangedListener


interface OnBufferTransformHintChangedListener
android.view.AttachedSurfaceControl.OnBufferTransformHintChangedListener

Buffer transform hint change listener.

Summary

Public methods
abstract Unit

Public methods

onBufferTransformHintChanged

Added in API level 32
abstract fun onBufferTransformHintChanged(hint: Int): Unit
Parameters
hint Int: new surface transform hint Value is android.view.SurfaceControl#BUFFER_TRANSFORM_IDENTITY, android.view.SurfaceControl#BUFFER_TRANSFORM_MIRROR_HORIZONTAL, android.view.SurfaceControl#BUFFER_TRANSFORM_MIRROR_VERTICAL, android.view.SurfaceControl#BUFFER_TRANSFORM_ROTATE_90, android.view.SurfaceControl#BUFFER_TRANSFORM_ROTATE_180, android.view.SurfaceControl#BUFFER_TRANSFORM_ROTATE_270, BUFFER_TRANSFORM_MIRROR_HORIZONTAL | BUFFER_TRANSFORM_ROTATE_90, or BUFFER_TRANSFORM_MIRROR_VERTICAL | BUFFER_TRANSFORM_ROTATE_90