MomentsVideoComponent

@objc(MomentsVideoComponent)
public final class MomentsVideoComponent : MomentsComponent

This class represents the Moments Video component.

  • Original video URL of the Video Component

    Declaration

    Swift

    @objc
    public let videoUrl: URL
  • Start time of the Video Component

    Declaration

    Swift

    @objc
    public let startTime: Double
  • End time of the Video Component

    Declaration

    Swift

    @objc
    public let endTime: Double
  • MomentsVideoComponent initialization

    Declaration

    Swift

    @objc
    public init(id: String,
                videoUrl: URL, startTime: Double, endTime: Double)

    Parameters

    id

    Id of the interactive component

    videoURL

    URL of the video component

    startTime

    URL of the video component

    videoURL

    URL of the video component