Helper Models

These are specialized data classes used within specific templates or advanced configurations.

1. Pic Info

PicInfo is a versatile wrapper used to define images or animations within components like Highlight Info. It allows you to specify whether a resource is a static image or an animation, and control its playback behavior.

Data Model (PicInfo)

ParameterTypeDescription
typeInt1 = Static Image.
2 = Animation (Lottie/GIF).
picStringRequired. The resource key (e.g., HyperPicture key or system resource).
loopBoolean(Animation only) Whether to loop the animation.
autoplayBoolean(Animation only) Whether to auto-play on load.
numberIntOptional integer value associated with the picture (e.g., for badge counts).
contentDescriptionString?Accessibility text for screen readers.
effectColorString?Optional tint color to apply to the image.
effectSrcString?Optional secondary resource for effects.

2. Text Button Info (Component 18)

TextButtonInfo defines the layout for the Text Button component (internally known as Component 18). This is used to create a grid or list of text-based actions that look distinct from the standard bottom action bar.

Data Model (TextButtonInfo)

ParameterTypeDescription
actionTitleStringRequired. The button text label.
actionIconString?Key for an icon to display next to the text.
actionIconDarkString?Key for the icon in Dark Mode.
actionIntentString?The Intent string or URI to execute when clicked.
actionIntentTypeInt0 = Standard, 1 = Activity, etc.

Color Customization

FieldLight ModeDark Mode
BackgroundactionBgColoractionBgColorDark
Text ColoractionTitleColoractionTitleColorDark