NativeAssetData
@objcMembers
public class NativeAssetData : NativeAsset
Represents a data asset in a native ad.
-
The length of the data asset.
Declaration
Swift
public var length: Int? -
Additional custom properties for the data asset.
Declaration
Swift
public var ext: AnyObject? -
Initializes a new instance of
NativeAssetData.Declaration
Swift
public required init(type: DataAsset, required: Bool)Parameters
typeThe type of the data asset.
requiredA boolean indicating whether the asset is required.