API/Autodoc/Classes/RuStore.RemoteConfig.RemoteConfig.en.md


RuStore::RemoteConfig::RemoteConfig

An abstract class of the current set of all data obtained depending on the selected update policy during initialization.

Inherited by RuStore.RemoteConfig.Internal.RemoteConfigImpl

Public Functions

Name
virtual abstract bool ContainsKey(string key) =0
The method checks for the presence of a key in the current instance of RemoteConfig.
virtual abstract bool GetBool(string key) =0
Casts the parameter value to the bool type.
virtual abstract int GetInt(string key) =0
Casts the parameter value to the int type.
virtual abstract long GetLong(string key) =0
Casts the parameter value to the long type.
virtual abstract string GetString(string key) =0
Casts the parameter value to the string type.
virtual abstract double GetDouble(string key) =0
Casts the parameter value to the double type.
virtual abstract float GetFloat(string key) =0
Casts the parameter value to the float type.

function ContainsKey

virtual abstract bool ContainsKey(
    string key
) =0

The method checks for the presence of a key in the current instance of RemoteConfig.

Parameters:

  • key Key name.

Return: Returns true if the parameter with the specified key is present in the data set, otherwise — false.

Reimplemented by: RuStore::RemoteConfig::Internal::RemoteConfigImpl::ContainsKey

function GetBool

virtual abstract bool GetBool(
    string key
) =0

Casts the parameter value to the bool type.

Parameters:

  • key Key name.

Return: The parameter value.

Reimplemented by: RuStore::RemoteConfig::Internal::RemoteConfigImpl::GetBool

function GetInt

virtual abstract int GetInt(
    string key
) =0

Casts the parameter value to the int type.

Parameters:

  • key Key name.

Return: The parameter value.

Reimplemented by: RuStore::RemoteConfig::Internal::RemoteConfigImpl::GetInt

function GetLong

virtual abstract long GetLong(
    string key
) =0

Casts the parameter value to the long type.

Parameters:

  • key Key name.

Return: The parameter value.

Reimplemented by: RuStore::RemoteConfig::Internal::RemoteConfigImpl::GetLong

function GetString

virtual abstract string GetString(
    string key
) =0

Casts the parameter value to the string type.

Parameters:

  • key Key name.

Return: The parameter value.

Reimplemented by: RuStore::RemoteConfig::Internal::RemoteConfigImpl::GetString

function GetDouble

virtual abstract double GetDouble(
    string key
) =0

Casts the parameter value to the double type.

Parameters:

  • key Key name.

Return: The parameter value.

Reimplemented by: RuStore::RemoteConfig::Internal::RemoteConfigImpl::GetDouble

function GetFloat

virtual abstract float GetFloat(
    string key
) =0

Casts the parameter value to the float type.

Parameters:

  • key Key name.

Return: The parameter value.

Reimplemented by: RuStore::RemoteConfig::Internal::RemoteConfigImpl::GetFloat