Stay organized with collections
Save and categorize content based on your preferences.
interface OnBufferTransformHintChangedListener
Buffer transform hint change listener.
Summary
Public methods |
abstract Unit |
|
Public methods
abstract fun onBufferTransformHintChanged(hint: Int): Unit
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-08-20 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-20 UTC."],[],[],null,["# AttachedSurfaceControl.OnBufferTransformHintChangedListener\n\nAdded in [API level 32](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nOnBufferTransformHintChangedListener\n====================================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/view/AttachedSurfaceControl.OnBufferTransformHintChangedListener \"View this page in Java\") \n\n```\ninterface OnBufferTransformHintChangedListener\n```\n\n|-------------------------------------------------------------------------------|\n| [android.view.AttachedSurfaceControl.OnBufferTransformHintChangedListener](#) |\n\nBuffer transform hint change listener.\n\nSummary\n-------\n\n| Public methods ||\n|---------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [onBufferTransformHintChanged](#onBufferTransformHintChanged(kotlin.Int))`(`hint:` `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`)` \u003cbr /\u003e |\n\nPublic methods\n--------------\n\n### onBufferTransformHintChanged\n\nAdded in [API level 32](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nabstract fun onBufferTransformHintChanged(hint: Int): Unit\n```\n\n| Parameters ||\n|--------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `hint` | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html): new surface transform hint Value is [android.view.SurfaceControl#BUFFER_TRANSFORM_IDENTITY](/reference/kotlin/android/view/SurfaceControl#BUFFER_TRANSFORM_IDENTITY:kotlin.Int), [android.view.SurfaceControl#BUFFER_TRANSFORM_MIRROR_HORIZONTAL](/reference/kotlin/android/view/SurfaceControl#BUFFER_TRANSFORM_MIRROR_HORIZONTAL:kotlin.Int), [android.view.SurfaceControl#BUFFER_TRANSFORM_MIRROR_VERTICAL](/reference/kotlin/android/view/SurfaceControl#BUFFER_TRANSFORM_MIRROR_VERTICAL:kotlin.Int), [android.view.SurfaceControl#BUFFER_TRANSFORM_ROTATE_90](/reference/kotlin/android/view/SurfaceControl#BUFFER_TRANSFORM_ROTATE_90:kotlin.Int), [android.view.SurfaceControl#BUFFER_TRANSFORM_ROTATE_180](/reference/kotlin/android/view/SurfaceControl#BUFFER_TRANSFORM_ROTATE_180:kotlin.Int), [android.view.SurfaceControl#BUFFER_TRANSFORM_ROTATE_270](/reference/kotlin/android/view/SurfaceControl#BUFFER_TRANSFORM_ROTATE_270:kotlin.Int), android.view.SurfaceControl.BUFFER_TRANSFORM_MIRROR_HORIZONTAL_ROTATE_90, or android.view.SurfaceControl.BUFFER_TRANSFORM_MIRROR_VERTICAL_ROTATE_90 |\n\n**See Also**\n\n- [#getBufferTransformHint](/reference/kotlin/android/view/AttachedSurfaceControl#getBufferTransformHint())"]]