共用方式為


SurfaceControl.Transaction.SetVisibility(SurfaceControl, Boolean) 方法

定義

[Android.Runtime.Register("setVisibility", "(Landroid/view/SurfaceControl;Z)Landroid/view/SurfaceControl$Transaction;", "GetSetVisibility_Landroid_view_SurfaceControl_ZHandler", ApiSince=29)]
public virtual Android.Views.SurfaceControl.Transaction SetVisibility (Android.Views.SurfaceControl sc, bool visible);
[<Android.Runtime.Register("setVisibility", "(Landroid/view/SurfaceControl;Z)Landroid/view/SurfaceControl$Transaction;", "GetSetVisibility_Landroid_view_SurfaceControl_ZHandler", ApiSince=29)>]
abstract member SetVisibility : Android.Views.SurfaceControl * bool -> Android.Views.SurfaceControl.Transaction
override this.SetVisibility : Android.Views.SurfaceControl * bool -> Android.Views.SurfaceControl.Transaction

參數

visible
Boolean

傳回

屬性

適用於