# AndroidDevice

> Interface into Android specific functionality.

## Definition

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

```csharp
public class AndroidDevice
```

## Static Properties

| Property                                                                                          | Description                                                                                                                                          |
| ------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
| [hardwareType](/engine/6000.6/script-reference/unityengine/android/androiddevice/hardwaretype.md) | When running on a ChromeOS device, hardwareType is set to AndroidHardwareType.ChromeOS. It is set to AndroidHardwareType.Generic in all other cases. |

## Static Methods

| Method                                                                                                                          | Description                                                                                                                                                       |
| ------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [SetSustainedPerformanceMode](/engine/6000.6/script-reference/unityengine/android/androiddevice/setsustainedperformancemode.md) | Set sustained performance mode. When enabled, sustained performance mode is intended to provide a consistent level of performance for a prolonged amount of time. |
