Class ConfigManager
Use this class to fetch and apply your configuration settings at runtime. ConfigManager is wrapper class to mimic the functionality of underlying ConfigManagerImpl class. It uses an instance of ConfigManagerImpl class, making it a primitive class of ConfigManagerImpl.
Namespace: Unity.RemoteConfig
Syntax
public static class ConfigManager
Properties
Name | Description |
---|---|
appConfig | Retrieves the |
requestStatus | Returns the status of the current configuration request from the service. |
Methods
Name | Description |
---|---|
FetchConfigs<T, T2>(T, T2) | Fetches an app configuration settings from the remote server. |
FetchConfigs<T, T2>(String, T, T2) | Fetches an app configuration settings from the remote server passing a configType. |
FetchConfigs<T, T2, T3>(T, T2, T3) | Fetches an app configuration settings from the remote server passing filterAttributes. |
FetchConfigs<T, T2, T3>(String, T, T2, T3) | Fetches an app configuration settings from the remote server passing a configType and filterAttributes. |
GetConfig(String) | Retrieves the particular config from multiple config object by passing config type. |
SetConfigAssignmentHash(String) | Sets configAssignmentHash identifier coming from core services. |
SetCustomUserID(String) | Sets a custom user identifier for the Remote Config delivery request payload. |
SetEnvironmentID(String) | Sets an environment identifier in the Remote Config delivery request payload. |
SetPlayerIdentityToken(String) | Sets player Identity Token. |
SetUserID(String) | Sets userId identifier in the Remote Config request payload. |
Events
Name | Description |
---|---|
FetchCompleted | This event fires when the configuration manager successfully fetches settings from the service. |