# AndroidWindowInsetsType

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

## Definition

* **Type:** Enum
* **Namespace:** [UnityEditor](/engine/7000.0/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
[Flags]
public enum AndroidWindowInsetsType : uint
```

## Remarks

Use this enum with [PlayerSettings.Android.requestedVisibleInsets](/engine/7000.0/script-reference/unityeditor/playersettings/android/requestedvisibleinsets.md) to specify whether the status bar, navigation bar, both, or none are visible by default when your application starts. Use it with [PlayerSettings.Android.requestedOverlappingInsets](/engine/7000.0/script-reference/unityeditor/playersettings/android/requestedoverlappinginsets.md) to specify which of those bars, and the caption bar, your application window extends behind.

**Note:** The system controls the visibility of the caption bar, so [PlayerSettings.Android.requestedVisibleInsets](/engine/7000.0/script-reference/unityeditor/playersettings/android/requestedvisibleinsets.md) has no effect on it.

## Examples

```csharp
using UnityEditor;

public class ApplyInsets
{
    public static void Setup()
    {
        // Request status and navigation bars to be visible for the application.
        PlayerSettings.Android.requestedVisibleInsets = AndroidWindowInsetsType.NavigationBars | AndroidWindowInsetsType.StatusBars;
    }
}
```

## Fields

| Value                                                                                                   | Description                                                                                      |
| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------ |
| [CaptionBar](/engine/7000.0/script-reference/unityeditor/androidwindowinsetstype/captionbar.md)         | Represents the area of the screen the caption bar occupies at the top of the application window. |
| [NavigationBars](/engine/7000.0/script-reference/unityeditor/androidwindowinsetstype/navigationbars.md) | Represents the area of the screen the system navigation elements occupy.                         |
| [None](/engine/7000.0/script-reference/unityeditor/androidwindowinsetstype/none.md)                     | No inset type selected.                                                                          |
| [StatusBars](/engine/7000.0/script-reference/unityeditor/androidwindowinsetstype/statusbars.md)         | Represents the area of the screen the system status bar occupies at the top of the screen.       |
