IWindowInsetsController.Hide(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Makes a set of windows causing insets disappear.
[Android.Runtime.Register("hide", "(I)V", "GetHide_IHandler:Android.Views.IWindowInsetsControllerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=30)]
public void Hide (int types);
[<Android.Runtime.Register("hide", "(I)V", "GetHide_IHandler:Android.Views.IWindowInsetsControllerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=30)>]
abstract member Hide : int -> unit
Parameters
- types
- Int32
A bitmask of WindowInsets.Type
specifying what windows the app
would like to make disappear.
- Attributes
Remarks
Makes a set of windows causing insets disappear.
Note that if the window currently doesn't have control over a certain type, it will apply the change as soon as the window gains control. The app can listen to the event by observing View#onApplyWindowInsets
and checking visibility with WindowInsets#isVisible
.
Java documentation for android.view.WindowInsetsController.hide(int)
.
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.