namespace ShiroginSDK.Runtime.Services.Interfaces
{
///
/// Interface for ShiroginSDK Remote Config management.
/// Provides access to Firebase Remote Config values and refresh controls.
///
public interface IRemoteConfigService
{
///
/// Initializes Remote Config system using SDKConfig settings.
/// Automatically reads enableFirebaseRemoteConfig and selectedRemoteGroup.
///
void Initialize();
///
/// Forces a fresh fetch from Firebase, ignoring cache duration.
///
void ForceRefresh();
///
/// Gets an integer value from cached Remote Config JSON.
///
int GetInt(string key, int defaultValue = 0);
///
/// Gets a float value from cached Remote Config JSON.
///
float GetFloat(string key, float defaultValue = 0f);
///
/// Gets a boolean value from cached Remote Config JSON.
///
bool GetBool(string key, bool defaultValue = false);
///
/// Gets a string value from cached Remote Config JSON.
///
string GetString(string key, string defaultValue = "");
}
}