WebPageInstantView

public struct WebPageInstantView : Codable, Equatable, FunctionResult

Describes an instant view page for a web page

  • Content of the web page

    Declaration

    Swift

    public let pageBlocks: [PageBlock]
  • Version of the instant view, currently can be 1 or 2

    Declaration

    Swift

    public let version: Int32
  • url

    Instant view URL; may be different from WebPage.url and must be used for the correct anchors handling

    Declaration

    Swift

    public let url: String
  • True, if the instant view must be shown from right to left

    Declaration

    Swift

    public let isRtl: Bool
  • True, if the instant view contains the full page. A network request might be needed to get the full web page instant view

    Declaration

    Swift

    public let isFull: Bool
  • Describes an instant view page for a web page

    Declaration

    Swift

    public init(pageBlocks: [PageBlock], version: Int32, url: String, isRtl: Bool, isFull: Bool)

    Parameters

    pageBlocks

    Content of the web page

    version

    Version of the instant view, currently can be 1 or 2

    url

    Instant view URL; may be different from WebPage.url and must be used for the correct anchors handling

    isRtl

    True, if the instant view must be shown from right to left

    isFull

    True, if the instant view contains the full page. A network request might be needed to get the full web page instant view