Language

IAttachedSurfaceControl.BuildReparentTransaction(SurfaceControl) Method

Definition

Create a transaction which will reparent child to the View hierarchy root SurfaceControl. See SurfaceControl.Transaction.reparent . This transacton must be applied or merged in to another transaction by the caller, otherwise it will have no effect.

[Android.Runtime.Register("buildReparentTransaction", "(Landroid/view/SurfaceControl;)Landroid/view/SurfaceControl$Transaction;", "GetBuildReparentTransaction_Landroid_view_SurfaceControl_Handler:Android.Views.IAttachedSurfaceControlInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=31)]
public Android.Views.SurfaceControl.Transaction? BuildReparentTransaction(Android.Views.SurfaceControl child);
[<Android.Runtime.Register("buildReparentTransaction", "(Landroid/view/SurfaceControl;)Landroid/view/SurfaceControl$Transaction;", "GetBuildReparentTransaction_Landroid_view_SurfaceControl_Handler:Android.Views.IAttachedSurfaceControlInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=31)>]
abstract member BuildReparentTransaction : Android.Views.SurfaceControl -> Android.Views.SurfaceControl.Transaction

Parameters

child
SurfaceControl

The Android.Views.SurfaceControl value used for child.

Returns

The result of the build reparent transaction operation.

Attributes

Remarks

For details, see the Android reference documentation for android.view.AttachedSurfaceControl.buildReparentTransaction.

Java documentation for android.view.AttachedSurfaceControl.buildReparentTransaction.

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