Class RemoteConfigDataStore
Implements
Inherited Members
Namespace: Unity.RemoteConfig .Editor
Assembly: Unity.RemoteConfig.Editor.dll
Syntax
public class RemoteConfigDataStore : ScriptableObject, ISerializationCallbackReceiver
Fields
Name | Description |
---|---|
_environments | Property for list of environments to be serialized |
_rs |
Property for list of keys to be serialized |
_rs |
Property for last cached list of keys to be serialized |
rs |
A list of all supported types for keys |
schemas |
Properties
Name | Description |
---|---|
config | Property with corresponding accessors for the config |
config |
Property with corresponding accessors for configId |
current |
Property with corresponding accessors for current Environment Id |
current |
Property with corresponding accessors for current Environment being default |
current |
Property with corresponding accessors for current Environment Name |
data |
Property with corresponding accessors depicting status of data store |
environments | Property with corresponding accessors for list of environments |
rs |
Property with corresponding accessors for list of keys |
rs |
Property with corresponding accessors for list of last cached keys |
settings |
Property for count of settings (keys) in config |
Methods
Name | Description |
---|---|
Add |
Adds a setting to the Remote Settings data store. This will add the setting to the rsKeyList. |
Check |
Checks if set of environments is valid. There must be exactly one default environment. |
Delete |
Deletes a setting from the Remote Settings data store. This will delete the setting from the rsKeyList. |
On |
Deserializes corresponding strings into JObjects |
On |
Serializes corresponding JObjects into strings |
Restore |
Returns the name of the last selected environment that is stored in EditorPrefs. |
Set |
Sets the the current environment ID name. |
Set |
Sets the default environment. |
Set |
Sets the name of the last selected environment and stores it in EditorPrefs. |
Update |
Updates a setting in the Remote Settings data store. This will update the setting in the rsKeyList. |
Events
Name | Description |
---|---|
Environment |
Declaration of event triggered after action of changed environment is performed |
Remote |
Declaration of event triggered after action of changed RemoteSettingDataStore is performed |