MomentsMedia

@objc(MomentsMedia)
public final class MomentsMedia : NSObject

Undocumented

  • Type of the story

    Declaration

    Swift

    @objc
    public let type: StoryType
  • List of story components in the story

    Declaration

    Swift

    @objc
    public let momentsComponentList: [MomentsComponent]?
  • Action url of the story

    Declaration

    Swift

    @objc
    public let actionUrl: String
  • URL of the preview image of the story

    Declaration

    Swift

    @objc
    public var previewUrl: URL?
  • MomentsMedia initialization

    Declaration

    Swift

    @objc
    public init(type: StoryType,
                momentsComponentList: [MomentsComponent]?,
                actionUrl: String,
                previewUrl: URL?)

    Parameters

    type

    Type of the story

    momentsComponentList

    List of moments components in the story

    actionUrl

    URL which the user has just interacted with

    previewUrl

    URL of the preview image of the story