Cover Info

CoverInfo is a rich media component designed to feature a large image (Cover Art) alongside hierarchical text. It supports three levels of text depth and is typically used for media notifications.

Usage

1
2
3
4
5
6
builder.setCoverInfo(
    picCover = "album_art_key", // HyperPicture Key
    title = "Bohemian Rhapsody",
    content = "Queen",
    subContent = "A Night at the Opera"
)

Data Model (CoverInfo)

ParameterTypeDescription
picCoverStringRequired. Key of the HyperPicture to display as the main cover image.
titleStringRequired. The primary headline (e.g., Song Title).
contentString?Secondary text (e.g., Artist Name).
subContentString?Tertiary text (e.g., Album Name or Year).

Color Customization

You can define separate colors for Light Mode and Dark Mode for every text element.

Text FieldLight ModeDark Mode
TitlecolorTitlecolorTitleDark
ContentcolorContentcolorContentDark
Sub ContentcolorSubContentcolorSubContentDark