AndroidDevice
Interface into Android specific functionality.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Class
- Namespace: UnityEngine.Android
- Assembly: UnityEngine.AndroidJNIModule
public class AndroidDevice
Static Properties
Property | Description |
|---|---|
| hardwareType | 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 | Set sustained performance mode. When enabled, sustained performance mode is intended to provide a consistent level of performance for a prolonged amount of time. |