docs.unity3d.com
    Show / Hide Table of Contents

    Class GoogleAndroidProviderLoader

    GoogleAndroidProviderLoader implements the loader for Adaptive Performance on devices running Android.

    Inheritance
    Object
    AdaptivePerformanceLoader
    AdaptivePerformanceLoaderHelper
    GoogleAndroidProviderLoader
    Inherited Members
    AdaptivePerformanceLoaderHelper.m_SubsystemInstanceMap
    AdaptivePerformanceLoaderHelper.GetLoadedSubsystem<T>()
    AdaptivePerformanceLoaderHelper.StartSubsystem<T>()
    AdaptivePerformanceLoaderHelper.StopSubsystem<T>()
    AdaptivePerformanceLoaderHelper.DestroySubsystem<T>()
    AdaptivePerformanceLoaderHelper.CreateSubsystem<TDescriptor, TSubsystem>(List<TDescriptor>, String)
    UnityEngine.AdaptivePerformance.AdaptivePerformanceLoaderHelper.WasAssignedToBuildTarget(UnityEditor.BuildTargetGroup)
    UnityEngine.AdaptivePerformance.AdaptivePerformanceLoaderHelper.WasUnassignedFromBuildTarget(UnityEditor.BuildTargetGroup)
    Namespace: UnityEngine.AdaptivePerformance.Google.Android
    Syntax
    public class GoogleAndroidProviderLoader : AdaptivePerformanceLoaderHelper

    Properties

    Initialized

    Returns if the provider loader was initialized successfully.

    Declaration
    public override bool Initialized { get; }
    Property Value
    Type Description
    Boolean
    Overrides
    AdaptivePerformanceLoader.Initialized

    Running

    Returns if the provider loader is currently running.

    Declaration
    public override bool Running { get; }
    Property Value
    Type Description
    Boolean
    Overrides
    AdaptivePerformanceLoader.Running

    Methods

    Deinitialize()

    Implementaion of Deinitialize().

    Declaration
    public override bool Deinitialize()
    Returns
    Type Description
    Boolean

    True if successfully deinitialized the Android subsystem, false otherwise.

    Overrides
    AdaptivePerformanceLoaderHelper.Deinitialize()

    GetDefaultSubsystem()

    Implementation of GetDefaultSubsystem().

    Declaration
    public override ISubsystem GetDefaultSubsystem()
    Returns
    Type Description
    ISubsystem

    Returns the Android Subsystem, which is the loaded default subsystem. Because only one subsystem can be present at a time, Adaptive Performance always initializes the first subsystem and uses it as a default. You can change subsystem order in the Adaptive Performance Provider Settings.

    Overrides
    AdaptivePerformanceLoader.GetDefaultSubsystem()

    GetSettings()

    Implementation of GetSettings().

    Declaration
    public override IAdaptivePerformanceSettings GetSettings()
    Returns
    Type Description
    IAdaptivePerformanceSettings

    Returns the Android settings.

    Overrides
    AdaptivePerformanceLoader.GetSettings()

    Initialize()

    Implementation of Initialize().

    Declaration
    public override bool Initialize()
    Returns
    Type Description
    Boolean

    True if successfully initialized the Android subsystem, false otherwise.

    Overrides
    AdaptivePerformanceLoader.Initialize()

    Start()

    Implementation of Start().

    Declaration
    public override bool Start()
    Returns
    Type Description
    Boolean

    True if successfully started the Android subsystem, false otherwise.

    Overrides
    AdaptivePerformanceLoader.Start()

    Stop()

    Implementaion of Stop().

    Declaration
    public override bool Stop()
    Returns
    Type Description
    Boolean

    True if successfully stopped the Android subsystem, false otherwise.

    Overrides
    AdaptivePerformanceLoader.Stop()
    In This Article
    • Properties
      • Initialized
      • Running
    • Methods
      • Deinitialize()
      • GetDefaultSubsystem()
      • GetSettings()
      • Initialize()
      • Start()
      • Stop()
    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