# GameMode

> Calls getGameMode() in the Android application to retrieve the user selected game mode for the application and returns AndroidGameMode. Requires API level 31 (Android 12). (Read Only)

## Definition

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

```csharp
public static AndroidGameMode GameMode { get; }
```

### Remarks

When target device does not support the required API level, [AndroidGameMode.Unsupported](/engine/6000.5/script-reference/unityengine/android/androidgamemode/unsupported.md) is returned (value of 0).
