SharingProduct
Ce contenu n’est pas encore disponible dans votre langue.
struct SharingProductOne product card on the sharing page.
Conforms to Swift.Equatable, Swift.Hashable, Swift.Sendable
Defined in: Sources/FrakSDK/Sharing/SharingRequest.swift:33
Initializers
Section titled “Initializers”init(title:link:imageURL:utmContent:details:)
Section titled “init(title:link:imageURL:utmContent:details:)”init( title: String, link: String, imageURL: String? = nil, utmContent: String? = nil, details: ProductDetails? = nil)Properties
Section titled “Properties”details
Section titled “details”let details: ProductDetails?Scope fields a campaign’s productScope can target. Composed rather than flattened
so bestReward(products:) can take scope-only products with no title at all.
imageURL
Section titled “imageURL”let imageURL: String?let link: Stringlet title: StringutmContent
Section titled “utmContent”let utmContent: String?Highest-priority source for utm_content.
Operators
Section titled “Operators”!=(::)
static func != (lhs: Self, rhs: Self) -> BoolReturns a Boolean value indicating whether two values are not equal.
Inequality is the inverse of equality. For any values a and b, a != b
implies that a == b is false.
This is the default implementation of the not-equal-to operator (!=)
for any type that conforms to Equatable.
- Parameters:
- lhs: A value to compare.
- rhs: Another value to compare.