ViewableImpression

class ViewableImpression : NSObject

Undocumented

  • An enum value representing the creative type of the offer associated with this viewable impression.

    @discussion Default is BTNCreativeTypeOther.

    Declaration

    Swift

    var creativeType: BTNCreativeType { get }
  • url

    The URL that is associated with the offer.

    Declaration

    Swift

    var url: String { get }
  • An enum value representing type of the visibleRate for the offer that is displayed to the user, either percent or fixed.

    Declaration

    Swift

    var visibleRateType: BTNVisibleRateType { get }
  • The rate visible to the user. If the visibleRateType is fixed, this value represents the amount in the currency of the offer. If it is percent, this will be a value ranging from 0.0 to 100.0.

    Declaration

    Swift

    var visibleRate: Double { get }
  • The optional Button-provided value that identifies the rate of the served offer.

    Declaration

    Swift

    var offerId: String { get }
  • Undocumented

    Declaration

    Swift

    init(url: String, creativeType: BTNCreativeType, visibleRateType: BTNVisibleRateType, visibleRate: Double, offerId: String)