GetSystemBarsBehavior()
Retrieves the configured behavior of system bars, such as status and navigation bars.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine.Android
- Assembly: UnityEngine.AndroidJNIModule
public AndroidWindowInsets.SystemBarsBehavior GetSystemBarsBehavior()
Returns
Type | Description |
|---|---|
| SystemBarsBehavior |
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()); }}