docs.unity3d.com
    Show / Hide Table of Contents

    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 ITheramlStatus to retrieve thermal information about the device.
        • getThermalHeadroom
        • getCurrentThermalStatus
        • ThermalStatusChangedListener
      • The following APIs are integrated into the game loop to retrieve and send performance related details to Android.
        • createHintSession
        • getPreferredUpdateRateNanos
        • reportActualWorkDuration
    • GameMode API (more info)
      • The Android GetGameMode API is integrated into Adaptive Performance IPerformanceModeStatus
      • There is also a Android.AndroidGame.GameMode property available in the Unity API.
    • GameState API
      • On Adaptive Performance initialization, the Android SetGameState API is triggered
      • There is also a Android.AndroidGame.SetGameState method available in the Unity API to make additional calls to the Android GameManager.

    For information on what's new in the latest version of Adaptive Performance Android, see the Changelog.

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023