docs.unity3d.com
    Show / Hide Table of Contents

    Class GoogleAndroidProviderSettings

    Provider Settings for Android provider, which controls the runtime asset instance that stores the settings.

    Inheritance
    Object
    IAdaptivePerformanceSettings
    GoogleAndroidProviderSettings
    Inherited Members
    IAdaptivePerformanceSettings.LoadScalerProfile(String)
    IAdaptivePerformanceSettings.GetAvailableScalerProfiles()
    IAdaptivePerformanceSettings.OnEnable()
    IAdaptivePerformanceSettings.logging
    IAdaptivePerformanceSettings.automaticPerformanceMode
    IAdaptivePerformanceSettings.enableBoostOnStartup
    IAdaptivePerformanceSettings.statsLoggingFrequencyInFrames
    IAdaptivePerformanceSettings.indexerSettings
    IAdaptivePerformanceSettings.scalerSettings
    IAdaptivePerformanceSettings.defaultScalerProfilerIndex
    Namespace: UnityEngine.AdaptivePerformance.Google.Android
    Syntax
    [Serializable]
    [AdaptivePerformanceConfigurationData("Android", "com.unity.adaptiveperformance.google.android.provider_settings")]
    public class GoogleAndroidProviderSettings : IAdaptivePerformanceSettings

    Fields

    s_RuntimeInstance

    Static instance that holds the runtime asset instance Unity creates during the build process.

    Declaration
    public static GoogleAndroidProviderSettings s_RuntimeInstance
    Field Value
    Type Description
    GoogleAndroidProviderSettings

    Properties

    googleProviderLogging

    Control debug logging of the Android provider. This setting only affects development builds. All logging is disabled in release builds. You can also control the global logging setting after startup by using Logging. Logging is disabled by default.

    Declaration
    public bool googleProviderLogging { get; set; }
    Property Value
    Type Description
    Boolean

    Set this to true to enable debug logging, or false to disable it (default: false).

    Methods

    GetSettings()

    Returns Android Provider Settings which are used by Adaptive Performance to apply Provider Settings.

    Declaration
    public static GoogleAndroidProviderSettings GetSettings()
    Returns
    Type Description
    GoogleAndroidProviderSettings

    Android Provider Settings

    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