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?
  • ext

    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

    type

    The type of the data asset.

    required

    A boolean indicating whether the asset is required.