express-embed-mobile-sdk-android-release

//sdk/com.adobe.express.embedsdk.wishesandgreetings.data.category

Package-level declarations

Types

Name Summary
WishesAndGreetingsCategoriesRepositoryImpl
class WishesAndGreetingsCategoriesRepositoryImpl(settingsSource: WishesAndGreetingsSettingsSource, isProd: Boolean, gson: Gson = Gson()) : WishesAndGreetingsCategoriesRepository
Loads the Wishes & greetings category catalog: attempts the remote wishesTemplateCategories settings fetch, gson-parses { "categories": [...] }, and falls back to WishesAndGreetingsCategoryDefaults on a null value, parse failure, exception, or empty parsed list.
WishesAndGreetingsCategoryDefaults
object WishesAndGreetingsCategoryDefaults
Hardcoded prod/stage Wishes & greetings catalogs; labels are string resources so they can be localized.
WishesAndGreetingsRemoteSettingsSource
class WishesAndGreetingsRemoteSettingsSource(baseUrl: String, httpClient: HttpClient, json: Json = Json { ignoreUnknownKeys = true }) : WishesAndGreetingsSettingsSource
Ports theo-android’s NativeFeatureFlagsRepository.getSettingValue HTTP contract for the Wishes & greetings category catalog: a single unauthenticated GET {baseUrl}default?feature-flags=…& settings=<key> against the Hz experimentation (_rr_) endpoint, whose response envelope is { "features": { … }, "settings": { "<key>": <value> } }.
WishesAndGreetingsSettingsSource
fun interface WishesAndGreetingsSettingsSource
Clean seam for reading a remote experimentation "setting" value by key.