共用方式為


SurfaceControl.TransactionStats.PresentFence Property

Definition

Returns a new SyncFence that signals when the transaction has been presented.

public Android.Hardware.SyncFence PresentFence { [Android.Runtime.Register("getPresentFence", "()Landroid/hardware/SyncFence;", "", ApiSince=35)] get; }
[<get: Android.Runtime.Register("getPresentFence", "()Landroid/hardware/SyncFence;", "", ApiSince=35)>]
member this.PresentFence : Android.Hardware.SyncFence

Property Value

Attributes

Remarks

Returns a new SyncFence that signals when the transaction has been presented. The caller takes ownership of the fence and is responsible for closing it by calling SyncFence#close. If a device does not support present fences, an empty fence will be returned.

Java documentation for android.view.SurfaceControl.TransactionStats.getPresentFence().

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.

Applies to