共用方式為


SurfaceControl.Transaction Constructors

Definition

Overloads

SurfaceControl.Transaction()

Open a new transaction object.

SurfaceControl.Transaction(IntPtr, JniHandleOwnership)

SurfaceControl.Transaction()

Open a new transaction object.

[Android.Runtime.Register(".ctor", "()V", "", ApiSince=29)]
public Transaction ();
Attributes

Remarks

Open a new transaction object. The transaction may be filed with commands to manipulate SurfaceControl instances, and then applied atomically with #apply. Eventually the user should invoke #close, when the object is no longer required. Note however that re-using a transaction after a call to apply is allowed as a convenience.

Java documentation for android.view.SurfaceControl.Transaction.SurfaceControl$Transaction().

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

SurfaceControl.Transaction(IntPtr, JniHandleOwnership)

protected Transaction (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Views.SurfaceControl.Transaction : nativeint * Android.Runtime.JniHandleOwnership -> Android.Views.SurfaceControl.Transaction

Parameters

javaReference
IntPtr

nativeint

Applies to