# AndroidSystemBarsBehavior

> Options for controlling the behavior of system bars, such as the status and navigation bars.

## Definition

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

```csharp
public enum AndroidSystemBarsBehavior : uint
```

## Remarks

These options determine how system gestures, such as swiping from screen edges, reveal the system bars when hidden. Use this enum with [PlayerSettings.Android.systemBarsBehavior](/engine/6000.6/script-reference/unityeditor/playersettings/android/systembarsbehavior.md) to select the system bars behavior for your application window.

## Examples

```csharp
using UnityEditor;

public class ApplySystemBarsBehavior
{
    public static void Setup()
    {
        PlayerSettings.Android.systemBarsBehavior = AndroidSystemBarsBehavior.ShowTransientBarsBySwipe;
    }
}
```

## Fields

| Value                                                                                                                         | Description                                                                                                                    |
| ----------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ |
| [Default](/engine/6000.6/script-reference/unityeditor/androidsystembarsbehavior/default.md)                                   | Reveals the system bars with system gestures, such as swiping from the edge of the screen where the bar is hidden.             |
| [ShowTransientBarsBySwipe](/engine/6000.6/script-reference/unityeditor/androidsystembarsbehavior/showtransientbarsbyswipe.md) | Reveals the system bars temporarily with system gestures, such as swiping from the edge of the screen where the bar is hidden. |
