ImageOnlyTemplate
data-variant=info
data-slots=text
ImageOnlyTemplate is only available in AEP SDK BOM version 3.15.0+.
Class which implements AepUITemplateType and represents an image-only template.
Public Properties
Property
Type
Description
idString
The unique identifier for this template.
actionUrlString?
The URL to be opened when the image-only card is clicked.
Methods
getType
Returns the type of this template, which is AepUITemplateType.IMAGE_ONLY.
Syntax
data-slots=heading, code
data-repeat=1
data-languages=Kotlin
Kotlin
override fun getType() = AepUITemplateType.IMAGE_ONLY