PopupEvent

struct PopupEvent

Struct defining Event model for individual popups.

- Parameters:
    - topText: The larger text at the top of the popup. Contained in its own `UILabel`.
    - botText: The smaller text at the bottom of the popup. Contained in its own `UILabel`.
    - imgName: The file name of the image asset to use as a badge icon. Ignored if left `nil`.
    - slideSound: The file name of the media asset to be played when the popup is slides into view. No sound is played if left `nil`.
    - badgeSound: The file name of the media asset to be played when/if a badge icon is displayed. No sound is played if left `nil`.

Author

Cadence Holmes 2018
  • Undocumented

    Declaration

    Swift

    var topText: String?
  • Undocumented

    Declaration

    Swift

    var botText: String?
  • Undocumented

    Declaration

    Swift

    var imgName: String?
  • Undocumented

    Declaration

    Swift

    var slideSound: String?
  • Undocumented

    Declaration

    Swift

    var badgeSound: String?
  • Undocumented

    Declaration

    Swift

    init(topText: String?, botText: String?, imgName: String?, slideSound: String?, badgeSound: String?)