Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetSystemBarsBehavior()

Retrieves the configured behavior of system bars, such as status and navigation bars.
Read time 1 minuteLast updated 5 days ago

Definition

public AndroidWindowInsets.SystemBarsBehavior GetSystemBarsBehavior()

Returns

Type

Description

SystemBarsBehaviorThe currently configured system bars behavior.

Remarks

This behavior determines how system gestures reveal the system bars when hidden at runtime.

Examples

using UnityEngine;using UnityEngine.Android;public class Controller : MonoBehaviour{ public void Start() { Debug.Log("SystemBarsBehavior: " + AndroidApplication.currentWindowInsets.GetSystemBarsBehavior()); }}