# Public Methods

### How to Initiate

Initiate the plugin with default states.

<pre class="language-csharp" data-title="WindowIncetsController.cs" data-overflow="wrap"><code class="lang-csharp"><strong>WindowIncetsController.Init(
</strong>bool _statusBarEnabled, bool _navigationBarEnabled, 
bool _lightStatusBarEnabled, bool _lightNavigationBarEnabled, 
bool _contentAppearBehindTheBars, bool _dimTheSystemBars, bool _forceResetFlags,
<strong>Color _statusBarColor, Color _navigationBarColor, long _updateDelay, 
</strong><strong>int _customStatusBarHeight, int _customNavigationBarHeight)
</strong></code></pre>

{% hint style="info" %}
You can automatically initiate the plugin with **WindowIncetsControllerManager editor inspector.** Please take a look at **Quick Start** for more details.
{% endhint %}

### **Get Status Bar Height**

Retrieve the status bar height from the native side.

```csharp
int WindowIncetsController.GetStatusBarHeight()
```

### Get Navigation Bar Height

Retrieve the navigation bar height from the native side.

```csharp
int WindowIncetsController.GetNavigationBarHeight()
```

### Get Android SDK Version

Retrieve the SDK version of the current device from the native side.

```csharp
int WindowIncetsController.GetAndroidSDKVersion()
```
