SurfaceView.ApplyTransactionToFrame(SurfaceControl+Transaction) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a transaction that would be applied synchronously with displaying the SurfaceView's next frame. Note that the exact frame that the transaction is applied with is only well-defined when SurfaceView rendering is paused prior to calling applyTransactionToFrame(), so that the transaction is applied with the next frame rendered after applyTransactionToFrame() is called. If frames are continuously rendering to the SurfaceView when applyTransactionToFrame() is called, then it is undefined which frame the transaction is applied with. It is also possible for the transaction to not be applied if no new frames are rendered to the SurfaceView after this is called.
[Android.Runtime.Register("applyTransactionToFrame", "(Landroid/view/SurfaceControl$Transaction;)V", "GetApplyTransactionToFrame_Landroid_view_SurfaceControl_Transaction_Handler", ApiSince=34)]
public virtual void ApplyTransactionToFrame(Android.Views.SurfaceControl.Transaction transaction);
[<Android.Runtime.Register("applyTransactionToFrame", "(Landroid/view/SurfaceControl$Transaction;)V", "GetApplyTransactionToFrame_Landroid_view_SurfaceControl_Transaction_Handler", ApiSince=34)>]
abstract member ApplyTransactionToFrame : Android.Views.SurfaceControl.Transaction -> unit
override this.ApplyTransactionToFrame : Android.Views.SurfaceControl.Transaction -> unit
Parameters
- transaction
- SurfaceControl.Transaction
The Android.Views.SurfaceControl+Transaction value used for transaction.
- Attributes
Remarks
For details, see the Android reference documentation for android.view.SurfaceView.applyTransactionToFrame.
Java documentation for android.view.SurfaceView.applyTransactionToFrame.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.