SurfaceControl.Transaction.SetBuffer Method

Definition

Overloads

SetBuffer(SurfaceControl, HardwareBuffer)
SetBuffer(SurfaceControl, HardwareBuffer, SyncFence)
SetBuffer(SurfaceControl, HardwareBuffer, SyncFence, IConsumer)

SetBuffer(SurfaceControl, HardwareBuffer)

[Android.Runtime.Register("setBuffer", "(Landroid/view/SurfaceControl;Landroid/hardware/HardwareBuffer;)Landroid/view/SurfaceControl$Transaction;", "GetSetBuffer_Landroid_view_SurfaceControl_Landroid_hardware_HardwareBuffer_Handler", ApiSince=33)]
public virtual Android.Views.SurfaceControl.Transaction SetBuffer (Android.Views.SurfaceControl sc, Android.Hardware.HardwareBuffer? buffer);
[<Android.Runtime.Register("setBuffer", "(Landroid/view/SurfaceControl;Landroid/hardware/HardwareBuffer;)Landroid/view/SurfaceControl$Transaction;", "GetSetBuffer_Landroid_view_SurfaceControl_Landroid_hardware_HardwareBuffer_Handler", ApiSince=33)>]
abstract member SetBuffer : Android.Views.SurfaceControl * Android.Hardware.HardwareBuffer -> Android.Views.SurfaceControl.Transaction
override this.SetBuffer : Android.Views.SurfaceControl * Android.Hardware.HardwareBuffer -> Android.Views.SurfaceControl.Transaction

Parameters

Returns

Attributes

Applies to

SetBuffer(SurfaceControl, HardwareBuffer, SyncFence)

[Android.Runtime.Register("setBuffer", "(Landroid/view/SurfaceControl;Landroid/hardware/HardwareBuffer;Landroid/hardware/SyncFence;)Landroid/view/SurfaceControl$Transaction;", "GetSetBuffer_Landroid_view_SurfaceControl_Landroid_hardware_HardwareBuffer_Landroid_hardware_SyncFence_Handler", ApiSince=33)]
public virtual Android.Views.SurfaceControl.Transaction SetBuffer (Android.Views.SurfaceControl sc, Android.Hardware.HardwareBuffer? buffer, Android.Hardware.SyncFence? fence);
[<Android.Runtime.Register("setBuffer", "(Landroid/view/SurfaceControl;Landroid/hardware/HardwareBuffer;Landroid/hardware/SyncFence;)Landroid/view/SurfaceControl$Transaction;", "GetSetBuffer_Landroid_view_SurfaceControl_Landroid_hardware_HardwareBuffer_Landroid_hardware_SyncFence_Handler", ApiSince=33)>]
abstract member SetBuffer : Android.Views.SurfaceControl * Android.Hardware.HardwareBuffer * Android.Hardware.SyncFence -> Android.Views.SurfaceControl.Transaction
override this.SetBuffer : Android.Views.SurfaceControl * Android.Hardware.HardwareBuffer * Android.Hardware.SyncFence -> Android.Views.SurfaceControl.Transaction

Parameters

fence
SyncFence

Returns

Attributes

Applies to

SetBuffer(SurfaceControl, HardwareBuffer, SyncFence, IConsumer)

[Android.Runtime.Register("setBuffer", "(Landroid/view/SurfaceControl;Landroid/hardware/HardwareBuffer;Landroid/hardware/SyncFence;Ljava/util/function/Consumer;)Landroid/view/SurfaceControl$Transaction;", "GetSetBuffer_Landroid_view_SurfaceControl_Landroid_hardware_HardwareBuffer_Landroid_hardware_SyncFence_Ljava_util_function_Consumer_Handler", ApiSince=33)]
public virtual Android.Views.SurfaceControl.Transaction SetBuffer (Android.Views.SurfaceControl sc, Android.Hardware.HardwareBuffer? buffer, Android.Hardware.SyncFence? fence, Java.Util.Functions.IConsumer? releaseCallback);
[<Android.Runtime.Register("setBuffer", "(Landroid/view/SurfaceControl;Landroid/hardware/HardwareBuffer;Landroid/hardware/SyncFence;Ljava/util/function/Consumer;)Landroid/view/SurfaceControl$Transaction;", "GetSetBuffer_Landroid_view_SurfaceControl_Landroid_hardware_HardwareBuffer_Landroid_hardware_SyncFence_Ljava_util_function_Consumer_Handler", ApiSince=33)>]
abstract member SetBuffer : Android.Views.SurfaceControl * Android.Hardware.HardwareBuffer * Android.Hardware.SyncFence * Java.Util.Functions.IConsumer -> Android.Views.SurfaceControl.Transaction
override this.SetBuffer : Android.Views.SurfaceControl * Android.Hardware.HardwareBuffer * Android.Hardware.SyncFence * Java.Util.Functions.IConsumer -> Android.Views.SurfaceControl.Transaction

Parameters

fence
SyncFence
releaseCallback
IConsumer

Returns

Attributes

Applies to