All Products
Search
Document Center

Mobile Platform as a Service:CubeCardConfig

Last Updated:Nov 24, 2025

This topic describes the properties of the Ant Cube Card configuration class.

Properties

templateId

/// The unique ID of the template. This parameter is required.
@property (nonatomic, strong) NSString *templateId;

version

/// Required. The version number of the template.
@property (nonatomic, strong) NSString *version;

data

/// Card data
@property (nonatomic, strong) NSDictionary *data;

width

/// The preset width of the card.
@property (nonatomic, assign) NSInteger width;

height

/// Card preset height
@property (nonatomic, assign) NSInteger height;

extOption

/// Card extension data
@property (nonatomic, strong) NSDictionary *extOption;

envData

/// Card environment variables
@property (nonatomic, strong) NSDictionary *envData;

layoutChangeListener

/// The card layout size change listener.
@property (nonatomic, weak) id<CCardLayoutChangeListener> listener;