# GetAppearance(Type)

> Returns the current foreground appearance of the specified inset type.

## Definition

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

```csharp
public AndroidWindowInsets.Appearance GetAppearance(AndroidWindowInsets.Type type)
```

### Parameters

**** (\[Type]\(/engine/6000.7/script-reference/unityengine/android/androidwindowinsets/type)): A single inset type to query. Passing combined flags throws an ArgumentException.

### Returns

| Type                                                                                                | Description                                       |
| --------------------------------------------------------------------------------------------------- | ------------------------------------------------- |
| [Appearance](/engine/6000.7/script-reference/unityengine/android/androidwindowinsets/appearance.md) | The current appearance, either `Light` or `Dark`. |

### Remarks

Returns whether the specified inset type currently has light or dark icons. Only a single inset type may be passed; passing combined flags throws an ArgumentException. Returns `Light` for [AndroidWindowInsets.Type.None](/engine/6000.7/script-reference/unityengine/android/androidwindowinsets/type/none.md).

**Note:** Only supported on Android 11 (API 30) or later.

### Examples

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

public class Controller : MonoBehaviour
{
    public void Start()
    {
        var appearance = AndroidApplication.currentWindowInsets.GetAppearance(AndroidWindowInsets.Type.StatusBars);
        Debug.Log("Status bar appearance: " + appearance);
    }
}
```
