Builder
Properties
A list of available locales. If specified, the app won't try to fetch a manifest from the server. Instead, it will use the provided list of locales. Can be used to save on network requests.
Represents the content delivery network (CDN) configuration associated with the builder.
The default language to use as a final fallback when the requested locale and its base language are not available. This ensures that users with unsupported languages receive translations from the CDN (in the default language) instead of falling back to native bundled translations.
Represents the network configuration used within the Builder. This property defines the HTTP client and coroutine context used for executing network operations. Can be customized directly by setting a Network instance or using a builder lambda function.
Functions
Sets the available locales configuration for the builder and returns the instance for further customization.
Sets the available locales configuration for the builder and returns the instance for further customization.
Builds and returns a new instance of the Config class using the provided builder properties.
Sets the CDN configuration for the Builder instance.
Configures the CDN settings for the builder.
Configures the content delivery settings for the Builder instance.
Sets the default language to use as a final fallback when the requested locale is not available.
Sets the locale configuration for the builder and returns the instance for further customization.
Sets the locale for the configuration using the provided locale string.
Sets the locale configuration for the builder and returns the instance for further customization.
Configures the network settings for the builder.
Configures the network settings for the builder using the provided configuration block.