SurfaceControl.Transaction Constructors

Definition

Overloads

Name Description
SurfaceControl.Transaction()

Open a new transaction object.

SurfaceControl.Transaction(IntPtr, JniHandleOwnership)

Creates a managed peer for an existing Java Native Interface object reference.

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.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)

Creates a managed peer for an existing Java Native Interface object reference.

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

The System.IntPtr value used for java reference.

transfer
JniHandleOwnership

The Android.Runtime.JniHandleOwnership value used for transfer.

Remarks

For details, see the Android reference documentation for android.view.SurfaceControl.Transaction.

Applies to