Class SamsungAndroidProviderSettings
Provider Settings for Samsung Android provider, which controls the runtime asset instance that stores the settings.
Inherited Members
Namespace: UnityEngine.AdaptivePerformance.Samsung.Android
Syntax
[Serializable]
public class SamsungAndroidProviderSettings : IAdaptivePerformanceSettings
Fields
s_RuntimeInstance
Static instance that holds the runtime asset instance Unity creates during the build process.
Declaration
public static SamsungAndroidProviderSettings s_RuntimeInstance
Field Value
Type | Description |
---|---|
SamsungAndroidProviderSettings |
Properties
automaticVRR
Use automatic Variable Refresh Rate to set refresh rate automatically based on the timing of CPU, GPU, device thermal state, and target framerate. This setting only affects the refresh rate if the device supports Variable Refresh Rate. Unity sets Variable Refresh Rate automatically by default.
Declaration
public bool automaticVRR { get; set; }
Property Value
Type | Description |
---|---|
Boolean | `Set this to true to enable Automatic Variable Refresh Rate, false to disable it (default: true if device supports Variable Refresh Rate). |
highSpeedVRR
Use High-Speed Variable Refresh Rate to allow refresh rates higher than 60 fps set via VRR APIs. This is required if you want to use variable refresh rates higher than 60hz. Can increase device temperature when activated. This setting only has an effect if a device supports Variable Refresh Rate. Unity does not set High-Speed Variable Refresh Rate automatically by default.
Declaration
public bool highSpeedVRR { get; set; }
Property Value
Type | Description |
---|---|
Boolean | Set this to true to allow High-Speed Variable Refresh Rate, or false to disable it (default: false). |
samsungProviderLogging
Control debug logging of the Samsung 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 samsungProviderLogging { 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 SamsungAndroidProviderSettings GetSettings()
Returns
Type | Description |
---|---|
SamsungAndroidProviderSettings | Android Provider Settings |