NativeLink
@objcMembers
public class NativeLink : NSObject, JsonDecodable
Class representing a link in a native ad.
-
Landing URL of the clickable link.
Declaration
Swift
public var url: String? -
List of third-party tracker URLs to be fired on click of the URL.
Declaration
Swift
public var clicktrackers: [String]? -
Fallback URL for deeplink. To be used if the URL given in url is not supported by the device.
Declaration
Swift
public var fallback: String? -
This object is a placeholder that may contain custom JSON agreed to by the parties to support flexibility beyond the standard defined in this specification
Declaration
Swift
public var ext: [String : Any]? -
Initializes a
NativeLinkobject from a JSON dictionary.Declaration
Swift
public required init(jsonDictionary: [String : Any])Parameters
jsonDictionaryA dictionary containing the JSON data to initialize the object.
-
Initializes with default values
Declaration
Swift
public override init()