# AndroidWindowInsets.Type

> Options for specifying different types of system UI elements that generate window insets.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEngine.Android](/engine/6000.7/script-reference/unityengine/android.md)
* **Assembly:** UnityEngine.AndroidJNIModule

```csharp
[Flags]
public enum AndroidWindowInsets.Type
```

## Remarks

Use this enum with [AndroidWindowInsets.Hide](/engine/6000.7/script-reference/unityengine/android/androidwindowinsets/hide.md), [AndroidWindowInsets.IsVisible](/engine/6000.7/script-reference/unityengine/android/androidwindowinsets/isvisible.md), and [AndroidWindowInsets.Show](/engine/6000.7/script-reference/unityengine/android/androidwindowinsets/show.md) methods to retrieve and modify the current state of the status bar, navigation bar, or both at runtime.

## Examples

```csharp
using UnityEngine;
using UnityEngine.Android;

public class Controller : MonoBehaviour
{
    public void Start()
    {
        AndroidApplication.currentWindowInsets.Show(AndroidWindowInsets.Type.StatusBars | AndroidWindowInsets.Type.NavigationBars);
    }
}
```

## Fields

| Value                                                                                                            | Description                                                                                |
| ---------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
| [NavigationBars](/engine/6000.7/script-reference/unityengine/android/androidwindowinsets/type/navigationbars.md) | Represents the area of the screen the system navigation elements occupy.                   |
| [None](/engine/6000.7/script-reference/unityengine/android/androidwindowinsets/type/none.md)                     | No inset type selected. No screen area is assigned for system UI elements.                 |
| [StatusBars](/engine/6000.7/script-reference/unityengine/android/androidwindowinsets/type/statusbars.md)         | Represents the area of the screen the system status bar occupies at the top of the screen. |
