Added in API level 32

AttachedSurfaceControl.OnBufferTransformHintChangedListener


public static interface AttachedSurfaceControl.OnBufferTransformHintChangedListener

android.view.AttachedSurfaceControl.OnBufferTransformHintChangedListener


Buffer transform hint change listener.

Summary

Public methods

abstract void onBufferTransformHintChanged(int hint)

Public methods

onBufferTransformHintChanged

Added in API level 32
public abstract void onBufferTransformHintChanged (int hint)

Parameters
hint int: new surface transform hint Value is SurfaceControl.BUFFER_TRANSFORM_IDENTITY, SurfaceControl.BUFFER_TRANSFORM_MIRROR_HORIZONTAL, SurfaceControl.BUFFER_TRANSFORM_MIRROR_VERTICAL, SurfaceControl.BUFFER_TRANSFORM_ROTATE_90, SurfaceControl.BUFFER_TRANSFORM_ROTATE_180, SurfaceControl.BUFFER_TRANSFORM_ROTATE_270, BUFFER_TRANSFORM_MIRROR_HORIZONTAL | BUFFER_TRANSFORM_ROTATE_90, or BUFFER_TRANSFORM_MIRROR_VERTICAL | BUFFER_TRANSFORM_ROTATE_90