View.IOnSystemUiVisibilityChangeListener.OnSystemUiVisibilityChange 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.
Called when the status bar changes visibility because of a call to
View#setSystemUiVisibility(int)
.
[Android.Runtime.Register("onSystemUiVisibilityChange", "(I)V", "GetOnSystemUiVisibilityChange_IHandler:Android.Views.View/IOnSystemUiVisibilityChangeListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnSystemUiVisibilityChange (Android.Views.StatusBarVisibility visibility);
[<Android.Runtime.Register("onSystemUiVisibilityChange", "(I)V", "GetOnSystemUiVisibilityChange_IHandler:Android.Views.View/IOnSystemUiVisibilityChangeListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnSystemUiVisibilityChange : Android.Views.StatusBarVisibility -> unit
Parameters
- visibility
- StatusBarVisibility
Bitwise-or of flags #SYSTEM_UI_FLAG_LOW_PROFILE
,
#SYSTEM_UI_FLAG_HIDE_NAVIGATION
, and #SYSTEM_UI_FLAG_FULLSCREEN
.
This tells you the <strong>global</strong> state of these UI visibility
flags, not what your app is currently applying.
- Attributes
Remarks
Called when the status bar changes visibility because of a call to View#setSystemUiVisibility(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.