> For the complete documentation index, see [llms.txt](https://glitch9.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://glitch9.gitbook.io/docs/mobile-plugins-for-unity/status-and-navigation-bar/public-variables.md).

# Public Variables

### Status Bar

Set or get status bar state. Set this True to enable the status ba&#x72;**.**

```csharp
bool WindowIncetsController.StatusBar
// WindowIncetsController.StatusBar = true; 
// (enables the status bar)
```

### Navigation Bar

Set or get navigation bar state. Set this True to enable the navigation bar.

```csharp
bool WindowIncetsController.NavigationBar 
// WindowIncetsController.NavigationBar = true;
// (enables the navigation bar)
```

### Light Status Bar

Set or get navigation bar light mode state. Set this True to enable light mode (darkens the items on the status bar)

```csharp
bool WindowIncetsController.LightStatusBar
// WindowIncetsController.LightStatusBar = true;
// (darkens the items on the status bar)
```

### Light Navigation Bar

Set or get navigation bar light mode state. Set this True to enable light mode (darkens the items on the navigation bar)

```csharp
bool WindowIncetsController.LightNavigationBar  
// WindowIncetsController.LightNavigationBar = true; 
// (darkens the items on the navigation bar)
```

### Status Bar Color

Set or get color of the status bar.

```csharp
Color WindowIncetsController.StatusBarColor
// WindowIncetsController.StatusBarColor = new Color(0, 0, 0, 0); 
// (makes the status bar transparent)
```

### Navigation Bar Color

Set or get color of the navigation bar.

```csharp
Color WindowIncetsController.NavigationBarColor
// WindowIncetsController.NavigationBarColor = Color.Red;
// (makes the navigation bar red)
```

### Content Appear Behind The Bars

Make contents appear behind the bars. At least one **Android Safe Area** component (**AndroidSafeArea.cs**) is required in your scene. Add the component to your RectTransform which you use as your screen's safe area. You can also have multiple Android Safe Area components.

```csharp
bool WindowIncetsController.ContentAppearBehindTheBars
// WindowIncetsController.ContentAppearBehindTheBars = true;
// (enables the safe areas)
```

### Dim The System Bars (SDK 29 or lower)

Use the low-profile system bar mode. This function is deprecated on SDK30.

```csharp
bool WindowIncetsController.DimTheSystemBars
// WindowIncetsController.DimTheSystemBars = true;
// (enables the low-profile mode)
```

### Force Reset Flags (SDK 30 or higher)

Some devices with SDK higher than 29 still use flags to control the system bars. Setting this value true will make devices with SDK30+ reset the flags.

```csharp
bool WindowIncetsController.ForceResetFlags
// WindowIncetsController.ForceResetFlags = true;
// (SDK30+ devices reset flags)
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://glitch9.gitbook.io/docs/mobile-plugins-for-unity/status-and-navigation-bar/public-variables.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
