Stay organized with collections
Save and categorize content based on your preferences.
TransactionCommittedListener
interface TransactionCommittedListener
Interface to handle request to SurfaceControl.Transaction.addTransactionCommittedListener(Executor, TransactionCommittedListener)
Summary
Public methods |
abstract Unit |
Invoked when the transaction has been committed in SurfaceFlinger.
|
Public methods
onTransactionCommitted
abstract fun onTransactionCommitted(): Unit
Invoked when the transaction has been committed in SurfaceFlinger.
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-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# SurfaceControl.TransactionCommittedListener\n\nAdded in [API level 33](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nTransactionCommittedListener\n============================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/view/SurfaceControl.TransactionCommittedListener \"View this page in Java\") \n\n```\ninterface TransactionCommittedListener\n```\n\n|---------------------------------------------------------------|\n| [android.view.SurfaceControl.TransactionCommittedListener](#) |\n\nInterface to handle request to [SurfaceControl.Transaction.addTransactionCommittedListener(Executor, TransactionCommittedListener)](/reference/kotlin/android/view/SurfaceControl.Transaction#addTransactionCommittedListener(java.util.concurrent.Executor,%20android.view.SurfaceControl.TransactionCommittedListener))\n\nSummary\n-------\n\n| Public methods ||\n|---------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------|\n| abstract [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [onTransactionCommitted](#onTransactionCommitted())`()` Invoked when the transaction has been committed in SurfaceFlinger. |\n\nPublic methods\n--------------\n\n### onTransactionCommitted\n\nAdded in [API level 33](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nabstract fun onTransactionCommitted(): Unit\n```\n\nInvoked when the transaction has been committed in SurfaceFlinger."]]