Suggest a change
Success!
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Close
Submission failed
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
Close
Returns
SystemBarsBehavior
The currently configured system bars behavior.
Description
Retrieves the configured behavior of system bars, such as status and navigation bars.
This behavior determines how system gestures reveal the system bars when hidden at runtime.
using UnityEngine;
using UnityEngine.Android;
public class Controller : MonoBehaviour
{
public void Start()
{
Debug.Log("SystemBarsBehavior: " + AndroidApplication.currentWindowInsets.GetSystemBarsBehavior());
}
}