express-embed-mobile-sdk-android-release

//sdk/com.adobe.express.embedsdk.wishesandgreetings.domain.model/WishesAndGreetingsBrowseState

WishesAndGreetingsBrowseState

sealed interface WishesAndGreetingsBrowseState

The domain-level result emitted by com.adobe.express.embedsdk.wishesandgreetings.domain.usecase.WishesAndGreetingsBrowseCollectionsUseCase for a single WishesAndGreetingsStockAssetsParams request.

Inheritors

 
Collections
Assets
Error

Types

Name Summary
Assets
data class Assets(val params: WishesAndGreetingsStockAssetsParams, val results: Flow<PagingData<WishesAndGreetingsAsset>>, val currentCollection: ContentCollection) : WishesAndGreetingsBrowseState
A flat grid of template assets (search results or a leaf collection’s assets).
Collections
data class Collections(val params: WishesAndGreetingsStockAssetsParams, val results: Flow<PagingData<WishesAndGreetingsCollection>>, val currentCollection: ContentCollection) : WishesAndGreetingsBrowseState
The resolved collection exposes child sub-collections (a row-of-rows browse view).
Error
data class Error(val params: WishesAndGreetingsStockAssetsParams, val error: Exception) : WishesAndGreetingsBrowseState
The content root / collection could not be resolved.

Properties

Name Summary
params
abstract val params: WishesAndGreetingsStockAssetsParams