ContentRenderer

data class ContentRenderer(val rendererKey: String?, val payloadSchemaVersion: String?, val minimumSdkVersion: String?, val requiredCapabilities: List<String>)

The renderer contract the server attached to a content item - which client component draws it and what that component must support.

The SDK passes it through without filtering on it: minimumSdkVersion refers to the host app's renderer, not to the AFCore version.

Constructors

Link copied to clipboard
constructor(rendererKey: String?, payloadSchemaVersion: String?, minimumSdkVersion: String?, requiredCapabilities: List<String>)

Properties

Link copied to clipboard

Lowest renderer version that can draw the item.

Link copied to clipboard

Version of ContentItem.payloadJson, e.g. banner-v1.

Link copied to clipboard

Renderer id, e.g. mobile-banner-rotation.

Link copied to clipboard

Capabilities the renderer must declare.