SendTabPayload

public struct SendTabPayload
extension SendTabPayload: Equatable, Hashable

The payload sent when invoking a “send tab” command.

  • The navigation history of the sent tab.

    The last item in this list represents the page to be displayed, while earlier items may be included in the navigation history as a convenience to the user.

    Declaration

    Swift

    public var entries: [TabHistoryEntry]
  • A unique identifier to be included in send-tab metrics.

    The application should treat this as opaque.

    Declaration

    Swift

    public var flowId: String
  • A unique identifier to be included in send-tab metrics.

    The application should treat this as opaque.

    Declaration

    Swift

    public var streamId: String
  • Declaration

    Swift

    public init(
        /**
         * The navigation history of the sent tab.
         *
         * The last item in this list represents the page to be displayed,
         * while earlier items may be included in the navigation history
         * as a convenience to the user.
         */entries: [TabHistoryEntry], 
        /**
         * A unique identifier to be included in send-tab metrics.
         *
         * The application should treat this as opaque.
         */flowId: String = "", 
        /**
         * A unique identifier to be included in send-tab metrics.
         *
         * The application should treat this as opaque.
         */streamId: String = "")
  • Declaration

    Swift

    public static func == (lhs: SendTabPayload, rhs: SendTabPayload) -> Bool
  • Declaration

    Swift

    public func hash(into hasher: inout Hasher)