SurfaceControl.Transaction.SetDesiredPresentTimeNanos(Int64) 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.
Specifies a desiredPresentTimeNanos for the transaction. The framework will try to present the transaction at or after the time specified. Transactions will not be presented until all of their acquire fences have signaled even if the app requests an earlier present time. If an earlier transaction has a desired present time of x, and a later transaction has a desired present time that is before x, the later transaction will not preempt the earlier transaction.
[Android.Runtime.Register("setDesiredPresentTimeNanos", "(J)Landroid/view/SurfaceControl$Transaction;", "GetSetDesiredPresentTimeNanos_JHandler", ApiSince=35)]
public virtual Android.Views.SurfaceControl.Transaction SetDesiredPresentTimeNanos(long desiredPresentTimeNanos);
[<Android.Runtime.Register("setDesiredPresentTimeNanos", "(J)Landroid/view/SurfaceControl$Transaction;", "GetSetDesiredPresentTimeNanos_JHandler", ApiSince=35)>]
abstract member SetDesiredPresentTimeNanos : int64 -> Android.Views.SurfaceControl.Transaction
override this.SetDesiredPresentTimeNanos : int64 -> Android.Views.SurfaceControl.Transaction
Parameters
- desiredPresentTimeNanos
- Int64
The System.Int64 value used for desired present time nanos.
Returns
The result of the set desired present time nanos operation.
- Attributes
Remarks
For details, see the Android reference documentation for android.view.SurfaceControl.Transaction.setDesiredPresentTimeNanos.
Java documentation for android.view.SurfaceControl.Transaction.setDesiredPresentTimeNanos.
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.