ReferralChallengeResponseSetting

public struct ReferralChallengeResponseSetting : ChallengeResponseSetting, Equatable

Struct representing Challenge response settings for Referral Challenges.

  • Platforms of referral challenge.

    Declaration

    Swift

    public var platforms: [String]
  • Subject of referral challenge.

    Declaration

    Swift

    public var subject: String
  • Body of referral challenge.

    Declaration

    Swift

    public var body: String
  • Banner of referral challenge.

    Declaration

    Swift

    public var banner: String
  • url

    Url of the tracker (.wtc).

    Declaration

    Swift

    public var url: String
  • Image URL of referral challenge.

    Declaration

    Swift

    public var imageUrl: String
  • Shareable text of challenge.

    Declaration

    Swift

    public var shareableText: String { get }
  • Undocumented

    Declaration

    Swift

    public init(platforms: [String], subject: String, body: String, banner: String, url: String, imageUrl: String)

ReferralChallengeResponseSetting

  • Declaration

    Swift

    public init(from decoder: Decoder) throws