NativeAsset

public class NativeAsset : NSObject

Represents a generic native ad asset which could be a title, image, or data.

  • Indicates whether the asset is required for the ad to be considered valid.

    Declaration

    Swift

    public var required: Bool
  • Initializes a new instance of NativeAsset.

    Declaration

    Swift

    public init(isRequired: Bool)

    Parameters

    isRequired

    A boolean indicating whether the asset is required.