SurfaceControl.Transaction.SetOpaque(SurfaceControl, Boolean) Method

Definition

Sets whether the compositor treats the specified surface as opaque.

[Android.Runtime.Register("setOpaque", "(Landroid/view/SurfaceControl;Z)Landroid/view/SurfaceControl$Transaction;", "GetSetOpaque_Landroid_view_SurfaceControl_ZHandler", ApiSince=33)]
public virtual Android.Views.SurfaceControl.Transaction SetOpaque(Android.Views.SurfaceControl sc, bool isOpaque);
[<Android.Runtime.Register("setOpaque", "(Landroid/view/SurfaceControl;Z)Landroid/view/SurfaceControl$Transaction;", "GetSetOpaque_Landroid_view_SurfaceControl_ZHandler", ApiSince=33)>]
abstract member SetOpaque : Android.Views.SurfaceControl * bool -> Android.Views.SurfaceControl.Transaction
override this.SetOpaque : Android.Views.SurfaceControl * bool -> Android.Views.SurfaceControl.Transaction

Parameters

sc
SurfaceControl

The Android.Views.SurfaceControl value used for sc.

isOpaque
Boolean

The System.Boolean value used for is opaque.

Returns

The result of the set opaque operation.

Attributes

Remarks

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

Java documentation for android.view.SurfaceControl.Transaction.setOpaque.

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