AgentforceThemeRepresentation

Represents visual theme information for Salesforce objects. This structure provides the visual styling information needed to consistently display objects throughout the Agentforce UI. It includes icon resources, color schemes, and fallback options for when primary resources are unavailable.

PropertyTypeDescription
iconUrlString?The URL for the object's icon image.
iconColorStringThe color associated with the object.
fallbackImageUIImage?A fallback image to use when the icon URL is unavailable.
MethodSignatureDescription
init(iconUrl:iconColor:fallbackImage:)init(iconUrl: String?, iconColor: String, fallbackImage: UIImage?)Creates a new theme representation.