Adaptive Performance Android provider
The Adaptive Performance Android provider extends Adaptive Performance to Android devices. To do this, it sends device-specific information from Android devices to the Adaptive Performance package. This enables you to retrieve data about the thermal state and performance mode of Android devices.
This package integrates with the following Android frameworks and APIs:
- Android Dynamic Performance Framework (ADPF) (more info)
- The following APIs are integrated into Adaptive Performance
IThermalStatus
to retrieve thermal information about the device. - The following APIs are integrated into the game loop to retrieve and send performance related details to Android.
- The following APIs are integrated into Adaptive Performance
- GameMode API (more info)
- The Android GetGameMode API is integrated into Adaptive Performance
IPerformanceModeStatus
- IAdaptivePerformanceSettings.automaticGameMode property controls whether to adjust the target frame rate according to the current device GameMode setting. You can change this property using the Adaptive Performance Android provider setting Auto Game Mode . When the Auto Game Mode is turned on, the following adjustments occur:
- Battery saver mode lowers the target frame rate to 30 fps.
- Performance mode raises the target frame rate to the highest supported by the display.
- Standard mode sets the application target frame rate to -1, which instructs player to use the default frame rate. The default frame rate on mobile platforms is 30 fps.
- Unity API also includes
Android.AndroidGame.GameMode
property.
- The Android GetGameMode API is integrated into Adaptive Performance
- GameState API (more info)
- Unity API includes
Android.AndroidGame.SetGameState
method to make manual calls to the Android GameManager.
- Unity API includes
For information on what's new in the latest version of Adaptive Performance Android, see the Changelog.