express-embed-mobile-sdk-android-release

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

FilterUtils


object FilterUtils

ACP filter field names + region defaults for the Wishes & greetings browse path.

Properties

Name Summary
FILTER_FIELD_APPLICABLE_REGIONS
const val FILTER_FIELD_APPLICABLE_REGIONS: String
FILTER_FIELD_LICENSING_CATEGORY
const val FILTER_FIELD_LICENSING_CATEGORY: String
FREE_LICENSING_FILTER
const val FREE_LICENSING_FILTER: String
REGION_CODES
val REGION_CODES: List<String>
Region codes the content service recognizes for the applicableRegions filter.

Functions

Name Summary
getDefaultRegions
fun getDefaultRegions(countryCode: String?): Set<String>
Default region set for the device (or countryCode when provided): the device/override region if recognized, plus the "ZZ" (global) region.
withFreeLicensingFilter
fun withFreeLicensingFilter(filterQuery: List<String>?): List<String>
Returns filterQuery with FREE_LICENSING_FILTER appended, unless it already constrains licensingCategory (ported from theo addFreeLicensingFilterIfNotExists).