Image Resources
Properties
Extensions
Link copied to clipboard
fun <UiRole : Enum<*>, T : ImageResource<UiRole>> ImageResources<T>.forRole(uiRole: UiRole, desiredDimensions: ImageResource.Dimensions? = null, filterBy: (T) -> Boolean? = null, preferBy: (T) -> Boolean? = null): T?
Content copied to clipboard
Retrieve an image asset for the specified criteria
fun ImageResources<BrandImageResource>.forRole(uiRole: BrandUiRole, needsSpaceForText: Boolean? = null, desiredDimensions: ImageResource.Dimensions? = null, isDropoffPlace: Boolean = false, lowCapacity: Boolean = false): BrandImageResource?
Content copied to clipboard
Retrieve a brand image asset for the specified criteria
Link copied to clipboard
fun ImageResources<ServiceImageResource>.serviceImage(desiredDimensions: ImageResource.Dimensions? = null): ServiceImageResource?
Content copied to clipboard
Retrieve a service image asset for the specified criteria