Class RemoteConfigProvider
-
- All Implemented Interfaces:
public final class RemoteConfigProviderRemoteConfigProvideris responsible for fetching and managing remote configs. It handles network requests to fetch configs, validates the responses, and updates the local cache and listeners accordingly. The class also supports retry mechanisms with exponential backoff in case of network failures.
-
-
Constructor Summary
Constructors Constructor Description RemoteConfigProvider(InMobiNetworkClient configClient)
-
Method Summary
Modifier and Type Method Description final <Error class: unknown class>fetchConfigs(String accountId, RootConfig rootConfig, List<ConfigRequestContext> configRequestContexts)Fetches configurations from the remote server based on the provided request model. -
-
Constructor Detail
-
RemoteConfigProvider
RemoteConfigProvider(InMobiNetworkClient configClient)
-
-
Method Detail
-
fetchConfigs
final <Error class: unknown class> fetchConfigs(String accountId, RootConfig rootConfig, List<ConfigRequestContext> configRequestContexts)
Fetches configurations from the remote server based on the provided request model. It groups the fetch models by URL and initiates concurrent fetch operations.
-
-
-
-